The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V17. Differential calculus in normed spaces

Mathlib.Analysis.Calculus.ContDiff.Basic

83 declarations. Mathlib docs Β· Source

Basic properties of continuously-differentiable functions

This file continues the development of the API for ContDiff, ContDiffAt, etc, covering constants, products, composition with linear maps, etc.

Tags

derivative, differentiability, higher derivative, C^n, multilinear, Taylor series, formal series

Constants

Smoothness of linear functions

The Cartesian product of two C^n functions is C^n.

Being C^k on a union of open sets can be tested on each set

theorem iteratedFDerivWithin_succ_const E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s : Set E} (n : β„•) (c : F),
  iteratedFDerivWithin π•œ (n + 1) (fun x ↦ c) s = 0

theorem iteratedFDerivWithin_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s : Set E} {i : β„•},
  iteratedFDerivWithin π•œ i 0 s = 0

theorem iteratedFDerivWithin_fun_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s : Set E} {i : β„•},
  iteratedFDerivWithin π•œ i (fun x ↦ 0) s = 0

theorem ftaylorSeriesWithin_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F], ftaylorSeriesWithin π•œ 0 = 0

theorem ftaylorSeriesWithin_fun_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F],
  (ftaylorSeriesWithin π•œ fun x ↦ 0) = 0

theorem iteratedFDeriv_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : β„•},
  iteratedFDeriv π•œ n 0 = 0

theorem iteratedFDeriv_fun_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : β„•},
  (iteratedFDeriv π•œ n fun x ↦ 0) = 0

theorem ftaylorSeries_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F], ftaylorSeries π•œ 0 = 0

theorem ftaylorSeries_fun_zero E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F], (ftaylorSeries π•œ fun x ↦ 0) = 0

theorem contDiff_zero_fun E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž},
  ContDiff π•œ n fun x ↦ 0

theorem contDiff_const E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž} {c : F},
  ContDiff π•œ n fun x ↦ c

Constants are C^∞.

theorem contDiffOn_const E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž} {c : F}
  {s : Set E}, ContDiffOn π•œ n (fun x ↦ c) s

theorem contDiffAt_const E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {x : E} {n : WithTop β„•βˆž}
  {c : F}, ContDiffAt π•œ n (fun x ↦ c) x

theorem contDiffWithinAt_const E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s : Set E} {x : E}
  {n : WithTop β„•βˆž} {c : F}, ContDiffWithinAt π•œ n (fun x ↦ c) s x

theorem contDiff_of_subsingleton E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {n : WithTop β„•βˆž}
  [Subsingleton F], ContDiff π•œ n f

theorem contDiffAt_of_subsingleton E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {x : E}
  {n : WithTop β„•βˆž} [Subsingleton F], ContDiffAt π•œ n f x

theorem contDiffWithinAt_of_subsingleton E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s : Set E} {f : E β†’ F} {x : E}
  {n : WithTop β„•βˆž} [Subsingleton F], ContDiffWithinAt π•œ n f s x

theorem contDiffOn_of_subsingleton E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s : Set E} {f : E β†’ F}
  {n : WithTop β„•βˆž} [Subsingleton F], ContDiffOn π•œ n f s

theorem iteratedFDerivWithin_const_of_ne E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : β„•},
  n β‰  0 β†’ βˆ€ (c : F) (s : Set E), iteratedFDerivWithin π•œ n (fun x ↦ c) s = 0

theorem iteratedFDeriv_const_of_ne E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : β„•},
  n β‰  0 β†’ βˆ€ (c : F), (iteratedFDeriv π•œ n fun x ↦ c) = 0

theorem iteratedFDeriv_succ_const E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] (n : β„•) (c : F),
  (iteratedFDeriv π•œ (n + 1) fun x ↦ c) = 0

theorem contDiffWithinAt_singleton E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {x : E}
  {n : WithTop β„•βˆž}, ContDiffWithinAt π•œ n f {x} x

theorem IsBoundedLinearMap.contDiff E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {n : WithTop β„•βˆž},
  IsBoundedLinearMap π•œ f β†’ ContDiff π•œ n f

Unbundled bounded linear functions are C^n.

theorem ContinuousLinearMap.contDiff E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž}
  (f : E β†’L[π•œ] F), ContDiff π•œ n ⇑f

theorem ContinuousLinearEquiv.contDiff E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž}
  (f : E ≃L[π•œ] F), ContDiff π•œ n ⇑f

theorem LinearIsometry.contDiff E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž}
  (f : E β†’β‚—α΅’[π•œ] F), ContDiff π•œ n ⇑f

theorem LinearIsometryEquiv.contDiff E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {n : WithTop β„•βˆž}
  (f : E ≃ₗᡒ[π•œ] F), ContDiff π•œ n ⇑f

theorem contDiff_id E2 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž}, ContDiff π•œ n id

The identity is C^n.

theorem contDiff_fun_id E2 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž}, ContDiff π•œ n fun x ↦ x

Eta-expanded form of contDiff_id


The identity is C^n.

theorem contDiffWithinAt_fun_id E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž} {s : Set E} {x : E}, ContDiffWithinAt π•œ n (fun x ↦ x) s x

Eta-expanded form of contDiffWithinAt_id

theorem contDiffWithinAt_id E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž} {s : Set E} {x : E}, ContDiffWithinAt π•œ n id s x

theorem contDiffAt_id E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž} {x : E}, ContDiffAt π•œ n id x

theorem contDiffAt_fun_id E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž} {x : E}, ContDiffAt π•œ n (fun x ↦ x) x

Eta-expanded form of contDiffAt_id

theorem contDiffOn_fun_id E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž} {s : Set E}, ContDiffOn π•œ n (fun x ↦ x) s

Eta-expanded form of contDiffOn_id

theorem contDiffOn_id E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] {n : WithTop β„•βˆž} {s : Set E}, ContDiffOn π•œ n id s

theorem IsBoundedBilinearMap.contDiff E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {b : E Γ— F β†’ G} {n : WithTop β„•βˆž},
  IsBoundedBilinearMap π•œ b β†’ ContDiff π•œ n b

Bilinear functions are C^n.

theorem HasFTaylorSeriesUpToOn.continuousLinearMap_comp E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F}
  {p : E β†’ FormalMultilinearSeries π•œ E F} {n : WithTop β„•βˆž} (g : F β†’L[π•œ] G),
  HasFTaylorSeriesUpToOn n f p s β†’
    HasFTaylorSeriesUpToOn n (⇑g ∘ f) (fun x k ↦ g.compContinuousMultilinearMap (p x k)) s

If f admits a Taylor series p in a set s, and g is linear, then g ∘ f admits a Taylor series whose k-th term is given by g ∘ (p k).

theorem ContDiffWithinAt.continuousLinearMap_comp E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {x : E} {n : WithTop β„•βˆž}
  (g : F β†’L[π•œ] G), ContDiffWithinAt π•œ n f s x β†’ ContDiffWithinAt π•œ n (⇑g ∘ f) s x

Composition by continuous linear maps on the left preserves C^n functions in a domain at a point.

theorem ContDiffAt.continuousLinearMap_comp E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {f : E β†’ F} {x : E} {n : WithTop β„•βˆž} (g : F β†’L[π•œ] G),
  ContDiffAt π•œ n f x β†’ ContDiffAt π•œ n (⇑g ∘ f) x

Composition by continuous linear maps on the left preserves C^n functions in a domain at a point.

theorem ContDiffOn.continuousLinearMap_comp E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž} (g : F β†’L[π•œ] G),
  ContDiffOn π•œ n f s β†’ ContDiffOn π•œ n (⇑g ∘ f) s

Composition by continuous linear maps on the left preserves C^n functions on domains.

theorem ContDiff.continuousLinearMap_comp E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž} {f : E β†’ F} (g : F β†’L[π•œ] G),
  ContDiff π•œ n f β†’ ContDiff π•œ n fun x ↦ g (f x)

Composition by continuous linear maps on the left preserves C^n functions.

theorem ContinuousLinearMap.iteratedFDerivWithin_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {x : E} {n : WithTop β„•βˆž} {f : E β†’ F}
  (g : F β†’L[π•œ] G),
  ContDiffWithinAt π•œ n f s x β†’
    UniqueDiffOn π•œ s β†’
      x ∈ s β†’
        βˆ€ {i : β„•},
          ↑i ≀ n β†’
            iteratedFDerivWithin π•œ i (⇑g ∘ f) s x = g.compContinuousMultilinearMap (iteratedFDerivWithin π•œ i f s x)

The iterated derivative within a set of the composition with a linear map on the left is obtained by applying the linear map to the iterated derivative.

theorem ContinuousLinearMap.iteratedFDeriv_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {x : E} {n : WithTop β„•βˆž} {f : E β†’ F} (g : F β†’L[π•œ] G),
  ContDiffAt π•œ n f x β†’
    βˆ€ {i : β„•}, ↑i ≀ n β†’ iteratedFDeriv π•œ i (⇑g ∘ f) x = g.compContinuousMultilinearMap (iteratedFDeriv π•œ i f x)

The iterated derivative of the composition with a linear map on the left is obtained by applying the linear map to the iterated derivative.

theorem ContinuousLinearEquiv.iteratedFDerivWithin_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {x : E} (g : F ≃L[π•œ] G) (f : E β†’ F),
  UniqueDiffOn π•œ s β†’
    x ∈ s β†’
      βˆ€ (i : β„•),
        iteratedFDerivWithin π•œ i (⇑g ∘ f) s x = (↑g).compContinuousMultilinearMap (iteratedFDerivWithin π•œ i f s x)

The iterated derivative within a set of the composition with a linear equiv on the left is obtained by applying the linear equiv to the iterated derivative. This is true without differentiability assumptions.

theorem ContinuousLinearEquiv.iteratedFDeriv_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {f : E β†’ F} {x : E} (g : F ≃L[π•œ] G) {i : β„•},
  iteratedFDeriv π•œ i (⇑g ∘ f) x = (↑g).compContinuousMultilinearMap (iteratedFDeriv π•œ i f x)

Iterated derivatives commute with left composition by continuous linear equivalences.

theorem LinearIsometry.norm_iteratedFDerivWithin_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {x : E} {n : WithTop β„•βˆž} {f : E β†’ F}
  (g : F β†’β‚—α΅’[π•œ] G),
  ContDiffWithinAt π•œ n f s x β†’
    UniqueDiffOn π•œ s β†’
      x ∈ s β†’ βˆ€ {i : β„•}, ↑i ≀ n β†’ β€–iteratedFDerivWithin π•œ i (⇑g ∘ f) s xβ€– = β€–iteratedFDerivWithin π•œ i f s xβ€–

Composition with a linear isometry on the left preserves the norm of the iterated derivative within a set.

theorem LinearIsometry.norm_iteratedFDeriv_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {x : E} {n : WithTop β„•βˆž} {f : E β†’ F} (g : F β†’β‚—α΅’[π•œ] G),
  ContDiffAt π•œ n f x β†’ βˆ€ {i : β„•}, ↑i ≀ n β†’ β€–iteratedFDeriv π•œ i (⇑g ∘ f) xβ€– = β€–iteratedFDeriv π•œ i f xβ€–

Composition with a linear isometry on the left preserves the norm of the iterated derivative.

theorem LinearIsometryEquiv.norm_iteratedFDerivWithin_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {x : E} (g : F ≃ₗᡒ[π•œ] G) (f : E β†’ F),
  UniqueDiffOn π•œ s β†’ x ∈ s β†’ βˆ€ (i : β„•), β€–iteratedFDerivWithin π•œ i (⇑g ∘ f) s xβ€– = β€–iteratedFDerivWithin π•œ i f s xβ€–

Composition with a linear isometry equiv on the left preserves the norm of the iterated derivative within a set.

theorem LinearIsometryEquiv.norm_iteratedFDeriv_comp_left E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] (g : F ≃ₗᡒ[π•œ] G) (f : E β†’ F) (x : E) (i : β„•),
  β€–iteratedFDeriv π•œ i (⇑g ∘ f) xβ€– = β€–iteratedFDeriv π•œ i f xβ€–

Composition with a linear isometry equiv on the left preserves the norm of the iterated derivative.

theorem ContinuousLinearEquiv.comp_contDiffWithinAt_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {x : E} {n : WithTop β„•βˆž}
  (e : F ≃L[π•œ] G), ContDiffWithinAt π•œ n (⇑e ∘ f) s x ↔ ContDiffWithinAt π•œ n f s x

Composition by continuous linear equivs on the left respects higher differentiability at a point in a domain.

theorem ContinuousLinearEquiv.comp_contDiffAt_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {f : E β†’ F} {x : E} {n : WithTop β„•βˆž} (e : F ≃L[π•œ] G),
  ContDiffAt π•œ n (⇑e ∘ f) x ↔ ContDiffAt π•œ n f x

Composition by continuous linear equivs on the left respects higher differentiability at a point.

theorem ContinuousLinearEquiv.comp_contDiffOn_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž} (e : F ≃L[π•œ] G),
  ContDiffOn π•œ n (⇑e ∘ f) s ↔ ContDiffOn π•œ n f s

Composition by continuous linear equivs on the left respects higher differentiability on domains.

theorem ContinuousLinearEquiv.comp_contDiff_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {f : E β†’ F} {n : WithTop β„•βˆž} (e : F ≃L[π•œ] G),
  ContDiff π•œ n (⇑e ∘ f) ↔ ContDiff π•œ n f

Composition by continuous linear equivs on the left respects higher differentiability.

theorem HasFTaylorSeriesUpToOn.comp_continuousAffineMap E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž}
  {p : E β†’ FormalMultilinearSeries π•œ E F},
  HasFTaylorSeriesUpToOn n f p s β†’
    βˆ€ (g : G →ᴬ[π•œ] E),
      HasFTaylorSeriesUpToOn n (f ∘ ⇑g) (fun x k ↦ (p (g x) k).compContinuousLinearMap fun x ↦ g.contLinear) (⇑g ⁻¹' s)

If f admits a Taylor series p in a set s, and g is affine, then f ∘ g admits a Taylor series in g ⁻¹' s, whose k-th term at x is given by p (g x) k (g.contLinear v₁, ..., g.contLinear vβ‚–) .

theorem HasFTaylorSeriesUpToOn.compContinuousLinearMap E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž}
  {p : E β†’ FormalMultilinearSeries π•œ E F},
  HasFTaylorSeriesUpToOn n f p s β†’
    βˆ€ (g : G β†’L[π•œ] E),
      HasFTaylorSeriesUpToOn n (f ∘ ⇑g) (fun x k ↦ (p (g x) k).compContinuousLinearMap fun x ↦ g) (⇑g ⁻¹' s)

If f admits a Taylor series p in a set s, and g is linear, then f ∘ g admits a Taylor series in g ⁻¹' s, whose k-th term at x is given by p (g x) k (g v₁, ..., g vβ‚–) .

theorem ContDiffWithinAt.comp_continuousLinearMap E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž} {x : G}
  (g : G β†’L[π•œ] E), ContDiffWithinAt π•œ n f s (g x) β†’ ContDiffWithinAt π•œ n (f ∘ ⇑g) (⇑g ⁻¹' s) x

Composition by continuous linear maps on the right preserves C^n functions at a point on a domain.

theorem ContDiffOn.comp_continuousLinearMap E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž},
  ContDiffOn π•œ n f s β†’ βˆ€ (g : G β†’L[π•œ] E), ContDiffOn π•œ n (f ∘ ⇑g) (⇑g ⁻¹' s)

Composition by continuous linear maps on the right preserves C^n functions on domains.

theorem ContDiff.comp_continuousLinearMap E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž} {f : E β†’ F} {g : G β†’L[π•œ] E},
  ContDiff π•œ n f β†’ ContDiff π•œ n (f ∘ ⇑g)

Composition by continuous linear maps on the right preserves C^n functions.

theorem ContinuousLinearMap.iteratedFDerivWithin_comp_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {n : WithTop β„•βˆž} {f : E β†’ F} (g : G β†’L[π•œ] E),
  ContDiffOn π•œ n f s β†’
    UniqueDiffOn π•œ s β†’
      UniqueDiffOn π•œ (⇑g ⁻¹' s) β†’
        βˆ€ {x : G},
          g x ∈ s β†’
            βˆ€ {i : β„•},
              ↑i ≀ n β†’
                iteratedFDerivWithin π•œ i (f ∘ ⇑g) (⇑g ⁻¹' s) x =
                  (iteratedFDerivWithin π•œ i f s (g x)).compContinuousLinearMap fun x ↦ g

The iterated derivative within a set of the composition with a linear map on the right is obtained by composing the iterated derivative with the linear map.

theorem ContinuousLinearEquiv.iteratedFDerivWithin_comp_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} (g : G ≃L[π•œ] E) (f : E β†’ F),
  UniqueDiffOn π•œ s β†’
    βˆ€ {x : G},
      g x ∈ s β†’
        βˆ€ (i : β„•),
          iteratedFDerivWithin π•œ i (f ∘ ⇑g) (⇑g ⁻¹' s) x =
            (iteratedFDerivWithin π•œ i f s (g x)).compContinuousLinearMap fun x ↦ ↑g

The iterated derivative within a set of the composition with a linear equiv on the right is obtained by composing the iterated derivative with the linear equiv.

theorem ContinuousLinearMap.iteratedFDeriv_comp_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž} (g : G β†’L[π•œ] E) {f : E β†’ F},
  ContDiff π•œ n f β†’
    βˆ€ (x : G) {i : β„•},
      ↑i ≀ n β†’ iteratedFDeriv π•œ i (f ∘ ⇑g) x = (iteratedFDeriv π•œ i f (g x)).compContinuousLinearMap fun x ↦ g

The iterated derivative of the composition with a linear map on the right is obtained by composing the iterated derivative with the linear map.

theorem LinearIsometryEquiv.norm_iteratedFDerivWithin_comp_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} (g : G ≃ₗᡒ[π•œ] E) (f : E β†’ F),
  UniqueDiffOn π•œ s β†’
    βˆ€ {x : G},
      g x ∈ s β†’ βˆ€ (i : β„•), β€–iteratedFDerivWithin π•œ i (f ∘ ⇑g) (⇑g ⁻¹' s) xβ€– = β€–iteratedFDerivWithin π•œ i f s (g x)β€–

Composition with a linear isometry on the right preserves the norm of the iterated derivative within a set.

theorem LinearIsometryEquiv.norm_iteratedFDeriv_comp_right E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] (g : G ≃ₗᡒ[π•œ] E) (f : E β†’ F) (x : G) (i : β„•),
  β€–iteratedFDeriv π•œ i (f ∘ ⇑g) xβ€– = β€–iteratedFDeriv π•œ i f (g x)β€–

Composition with a linear isometry on the right preserves the norm of the iterated derivative within a set.

theorem ContinuousLinearEquiv.contDiffWithinAt_comp_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {x : E} {n : WithTop β„•βˆž}
  (e : G ≃L[π•œ] E), ContDiffWithinAt π•œ n (f ∘ ⇑e) (⇑e ⁻¹' s) (e.symm x) ↔ ContDiffWithinAt π•œ n f s x

Composition by continuous linear equivs on the right respects higher differentiability at a point in a domain.

theorem ContinuousLinearEquiv.contDiffAt_comp_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {f : E β†’ F} {x : E} {n : WithTop β„•βˆž} (e : G ≃L[π•œ] E),
  ContDiffAt π•œ n (f ∘ ⇑e) (e.symm x) ↔ ContDiffAt π•œ n f x

Composition by continuous linear equivs on the right respects higher differentiability at a point.

theorem ContinuousLinearEquiv.contDiffOn_comp_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F} {n : WithTop β„•βˆž} (e : G ≃L[π•œ] E),
  ContDiffOn π•œ n (f ∘ ⇑e) (⇑e ⁻¹' s) ↔ ContDiffOn π•œ n f s

Composition by continuous linear equivs on the right respects higher differentiability on domains.

theorem ContinuousLinearEquiv.contDiff_comp_iff E0 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {f : E β†’ F} {n : WithTop β„•βˆž} (e : G ≃L[π•œ] E),
  ContDiff π•œ n (f ∘ ⇑e) ↔ ContDiff π•œ n f

Composition by continuous linear equivs on the right respects higher differentiability.

theorem HasFTaylorSeriesUpToOn.prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {f : E β†’ F}
  {p : E β†’ FormalMultilinearSeries π•œ E F} {n : WithTop β„•βˆž},
  HasFTaylorSeriesUpToOn n f p s β†’
    βˆ€ {g : E β†’ G} {q : E β†’ FormalMultilinearSeries π•œ E G},
      HasFTaylorSeriesUpToOn n g q s β†’ HasFTaylorSeriesUpToOn n (fun y ↦ (f y, g y)) (fun y k ↦ (p y k).prod (q y k)) s

If two functions f and g admit Taylor series p and q in a set s, then the Cartesian product of f and g admits the Cartesian product of p and q as a Taylor series.

theorem ContDiffWithinAt.prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {x : E} {n : WithTop β„•βˆž} {s : Set E} {f : E β†’ F}
  {g : E β†’ G}, ContDiffWithinAt π•œ n f s x β†’ ContDiffWithinAt π•œ n g s x β†’ ContDiffWithinAt π•œ n (fun x ↦ (f x, g x)) s x

The Cartesian product of C^n functions at a point in a domain is C^n.

theorem ContDiffOn.prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž} {s : Set E} {f : E β†’ F} {g : E β†’ G},
  ContDiffOn π•œ n f s β†’ ContDiffOn π•œ n g s β†’ ContDiffOn π•œ n (fun x ↦ (f x, g x)) s

The Cartesian product of C^n functions on domains is C^n.

theorem ContDiffAt.prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {x : E} {n : WithTop β„•βˆž} {f : E β†’ F} {g : E β†’ G},
  ContDiffAt π•œ n f x β†’ ContDiffAt π•œ n g x β†’ ContDiffAt π•œ n (fun x ↦ (f x, g x)) x

The Cartesian product of C^n functions at a point is C^n.

theorem ContDiff.prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž} {f : E β†’ F} {g : E β†’ G},
  ContDiff π•œ n f β†’ ContDiff π•œ n g β†’ ContDiff π•œ n fun x ↦ (f x, g x)

The Cartesian product of C^n functions is C^n.

theorem iteratedFDerivWithin_prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {s : Set E} {x : E} {n : WithTop β„•βˆž} {f : E β†’ F}
  {g : E β†’ G},
  ContDiffWithinAt π•œ n f s x β†’
    ContDiffWithinAt π•œ n g s x β†’
      UniqueDiffOn π•œ s β†’
        x ∈ s β†’
          βˆ€ {i : β„•},
            ↑i ≀ n β†’
              iteratedFDerivWithin π•œ i (fun x ↦ (f x, g x)) s x =
                (iteratedFDerivWithin π•œ i f s x).prod (iteratedFDerivWithin π•œ i g s x)

theorem iteratedFDeriv_prodMk E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {x : E} {n : WithTop β„•βˆž} {f : E β†’ F} {g : E β†’ G},
  ContDiffAt π•œ n f x β†’
    ContDiffAt π•œ n g x β†’
      βˆ€ {i : β„•},
        ↑i ≀ n β†’ iteratedFDeriv π•œ i (fun x ↦ (f x, g x)) x = (iteratedFDeriv π•œ i f x).prod (iteratedFDeriv π•œ i g x)

theorem ContDiffOn.union_of_isOpen E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s t : Set E} {f : E β†’ F}
  {n : WithTop β„•βˆž}, ContDiffOn π•œ n f s β†’ ContDiffOn π•œ n f t β†’ IsOpen s β†’ IsOpen t β†’ ContDiffOn π•œ n f (s βˆͺ t)

If a function is C^k on two open sets, it is also C^n on their union.

theorem contDiffOn_union_iff_of_isOpen E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s t : Set E} {f : E β†’ F}
  {n : WithTop β„•βˆž}, IsOpen s β†’ IsOpen t β†’ (ContDiffOn π•œ n f (s βˆͺ t) ↔ ContDiffOn π•œ n f s ∧ ContDiffOn π•œ n f t)

A function is C^k on two open sets iff it is C^k on their union.

theorem contDiff_of_contDiffOn_union_of_isOpen E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {s t : Set E} {f : E β†’ F}
  {n : WithTop β„•βˆž}, ContDiffOn π•œ n f s β†’ ContDiffOn π•œ n f t β†’ s βˆͺ t = Set.univ β†’ IsOpen s β†’ IsOpen t β†’ ContDiff π•œ n f

theorem ContDiffOn.iUnion_of_isOpen E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {n : WithTop β„•βˆž}
  {ΞΉ : Type u_5} {s : ΞΉ β†’ Set E},
  (βˆ€ (i : ΞΉ), ContDiffOn π•œ n f (s i)) β†’ (βˆ€ (i : ΞΉ), IsOpen (s i)) β†’ ContDiffOn π•œ n f (⋃ i, s i)

If a function is C^k on open sets s i, it is C^k on their union

theorem contDiffOn_iUnion_iff_of_isOpen E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {n : WithTop β„•βˆž}
  {ΞΉ : Type u_5} {s : ΞΉ β†’ Set E},
  (βˆ€ (i : ΞΉ), IsOpen (s i)) β†’ (ContDiffOn π•œ n f (⋃ i, s i) ↔ βˆ€ (i : ΞΉ), ContDiffOn π•œ n f (s i))

A function is C^k on a union of open sets s i iff it is C^k on each s i.

theorem contDiff_of_contDiffOn_iUnion_of_isOpen E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField π•œ] [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F} {n : WithTop β„•βˆž}
  {ΞΉ : Type u_5} {s : ΞΉ β†’ Set E},
  (βˆ€ (i : ΞΉ), ContDiffOn π•œ n f (s i)) β†’ (βˆ€ (i : ΞΉ), IsOpen (s i)) β†’ ⋃ i, s i = Set.univ β†’ ContDiff π•œ n f

theorem contDiff_prodAssoc E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž}, ContDiff π•œ n ⇑(Equiv.prodAssoc E F G)

The natural equivalence (E Γ— F) Γ— G ≃ E Γ— (F Γ— G) is smooth.

Warning: if you think you need this lemma, it is likely that you can simplify your proof by reformulating the lemma that you're applying next using the tips in Note [continuity lemma statement]

theorem contDiff_prodAssoc_symm E1 #

βˆ€ {π•œ : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField π•œ]
  [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F]
  [inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace π•œ G] {n : WithTop β„•βˆž},
  ContDiff π•œ n ⇑(Equiv.prodAssoc E F G).symm

The natural equivalence E Γ— (F Γ— G) ≃ (E Γ— F) Γ— G is smooth.

Warning: see remarks attached to contDiff_prodAssoc

theorem HasCompactSupport.exists_bound_iteratedFDeriv E1 #

βˆ€ {π•œ : Type u_1} [inst : NontriviallyNormedField π•œ] {E : Type u_5} {F : Type u_6} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace π•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace π•œ F] {f : E β†’ F},
  HasCompactSupport f β†’ ContDiff π•œ (β†‘βŠ€) f β†’ βˆ€ (m : β„•), βˆƒ C, 0 ≀ C ∧ βˆ€ i ≀ m, βˆ€ (y : E), β€–iteratedFDeriv π•œ i f yβ€– ≀ C

The iterated derivatives up to order m of a smooth compactly supported function are uniformly bounded.