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 / V16. Normed spaces and functional analysis

Mathlib.Analysis.InnerProductSpace.Calculus

70 declarations. Mathlib docs · Source

Calculus in inner product spaces

In this file we prove that the inner product and square of the norm in an inner space are infinitely ℝ-smooth. In order to state these results, we need a NormedSpace ℝ E instance. Though we can deduce this structure from InnerProductSpace 𝕜 E, this instance may be not definitionally equal to some other “natural” instance. So, we assume [NormedSpace ℝ E].

We also prove that functions to a EuclideanSpace are (higher) differentiable if and only if their components are. This follows from the corresponding fact for finite product of normed spaces, and from the equivalence of norms in finite dimensions.

TODO

The last part of the file should be generalized to PiLp.

Convenience aliases of PiLp lemmas for EuclideanSpace

def fderivInnerCLM E1 #

(𝕜 : Type u_1) →
  {E : Type u_2} →
    [inst : RCLike 𝕜] →
      [inst_1 : NormedAddCommGroup E] → [InnerProductSpace 𝕜 E] → [inst_3 : NormedSpace ℝ E] → E × E → E × E →L[ℝ] 𝕜

Derivative of the inner product.

theorem fderivInnerCLM_apply E0 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] (p x : E × E), (fderivInnerCLM 𝕜 p) x = inner 𝕜 p.1 x.2 + inner 𝕜 x.1 p.2

theorem contDiff_inner E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {n : WithTop ℕ∞}, ContDiff ℝ n fun p ↦ inner 𝕜 p.1 p.2

theorem contDiffAt_inner E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {p : E × E} {n : WithTop ℕ∞}, ContDiffAt ℝ n (fun p ↦ inner 𝕜 p.1 p.2) p

theorem differentiable_inner E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E], Differentiable ℝ fun p ↦ inner 𝕜 p.1 p.2

theorem ContDiffWithinAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G} {x : G} {n : WithTop ℕ∞},
  ContDiffWithinAt ℝ n f s x → ContDiffWithinAt ℝ n g s x → ContDiffWithinAt ℝ n (fun x ↦ inner 𝕜 (f x) (g x)) s x

theorem ContDiffAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {x : G} {n : WithTop ℕ∞}, ContDiffAt ℝ n f x → ContDiffAt ℝ n g x → ContDiffAt ℝ n (fun x ↦ inner 𝕜 (f x) (g x)) x

theorem ContDiffOn.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G} {n : WithTop ℕ∞}, ContDiffOn ℝ n f s → ContDiffOn ℝ n g s → ContDiffOn ℝ n (fun x ↦ inner 𝕜 (f x) (g x)) s

theorem ContDiff.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {n : WithTop ℕ∞}, ContDiff ℝ n f → ContDiff ℝ n g → ContDiff ℝ n fun x ↦ inner 𝕜 (f x) (g x)

theorem HasFDerivWithinAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {f' g' : G →L[ℝ] E} {s : Set G} {x : G},
  HasFDerivWithinAt f f' s x →
    HasFDerivWithinAt g g' s x →
      HasFDerivWithinAt (fun t ↦ inner 𝕜 (f t) (g t)) (fderivInnerCLM 𝕜 (f x, g x) ∘SL f'.prod g') s x

theorem HasStrictFDerivAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {f' g' : G →L[ℝ] E} {x : G},
  HasStrictFDerivAt f f' x →
    HasStrictFDerivAt g g' x →
      HasStrictFDerivAt (fun t ↦ inner 𝕜 (f t) (g t)) (fderivInnerCLM 𝕜 (f x, g x) ∘SL f'.prod g') x

theorem HasFDerivAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {f' g' : G →L[ℝ] E} {x : G},
  HasFDerivAt f f' x →
    HasFDerivAt g g' x → HasFDerivAt (fun t ↦ inner 𝕜 (f t) (g t)) (fderivInnerCLM 𝕜 (f x, g x) ∘SL f'.prod g') x

theorem HasDerivWithinAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {f g : ℝ → E} {f' g' : E} {s : Set ℝ} {x : ℝ},
  HasDerivWithinAt f f' s x →
    HasDerivWithinAt g g' s x → HasDerivWithinAt (fun t ↦ inner 𝕜 (f t) (g t)) (inner 𝕜 (f x) g' + inner 𝕜 f' (g x)) s x

theorem HasDerivAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {f g : ℝ → E} {f' g' : E} {x : ℝ},
  HasDerivAt f f' x →
    HasDerivAt g g' x → HasDerivAt (fun t ↦ inner 𝕜 (f t) (g t)) (inner 𝕜 (f x) g' + inner 𝕜 f' (g x)) x

theorem DifferentiableWithinAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G} {x : G},
  DifferentiableWithinAt ℝ f s x →
    DifferentiableWithinAt ℝ g s x → DifferentiableWithinAt ℝ (fun x ↦ inner 𝕜 (f x) (g x)) s x

theorem DifferentiableAt.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {x : G}, DifferentiableAt ℝ f x → DifferentiableAt ℝ g x → DifferentiableAt ℝ (fun x ↦ inner 𝕜 (f x) (g x)) x

theorem DifferentiableOn.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G}, DifferentiableOn ℝ f s → DifferentiableOn ℝ g s → DifferentiableOn ℝ (fun x ↦ inner 𝕜 (f x) (g x)) s

theorem Differentiable.inner E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E},
  Differentiable ℝ f → Differentiable ℝ g → Differentiable ℝ fun x ↦ inner 𝕜 (f x) (g x)

theorem fderiv_inner_apply E0 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {G : Type u_4} [inst_4 : NormedAddCommGroup G] [inst_5 : NormedSpace ℝ G] {f g : G → E}
  {x : G},
  DifferentiableAt ℝ f x →
    DifferentiableAt ℝ g x →
      ∀ (y : G),
        (fderiv ℝ (fun t ↦ inner 𝕜 (f t) (g t)) x) y =
          inner 𝕜 (f x) ((fderiv ℝ g x) y) + inner 𝕜 ((fderiv ℝ f x) y) (g x)

theorem deriv_inner_apply E0 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [inst_3 : NormedSpace ℝ E] {f g : ℝ → E} {x : ℝ},
  DifferentiableAt ℝ f x →
    DifferentiableAt ℝ g x →
      deriv (fun t ↦ inner 𝕜 (f t) (g t)) x = inner 𝕜 (f x) (deriv g x) + inner 𝕜 (deriv f x) (g x)

theorem contDiff_norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {n : WithTop ℕ∞}, ContDiff ℝ n fun x ↦ ‖x‖ ^ 2

theorem ContDiff.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {n : WithTop ℕ∞}, ContDiff ℝ n f → ContDiff ℝ n fun x ↦ ‖f x‖ ^ 2

theorem ContDiffWithinAt.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G} {x : G} {n : WithTop ℕ∞}, ContDiffWithinAt ℝ n f s x → ContDiffWithinAt ℝ n (fun y ↦ ‖f y‖ ^ 2) s x

theorem ContDiffAt.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E} {x : G}
  {n : WithTop ℕ∞}, ContDiffAt ℝ n f x → ContDiffAt ℝ n (fun x ↦ ‖f x‖ ^ 2) x

theorem contDiffAt_norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {n : WithTop ℕ∞} {x : E}, x ≠ 0 → ContDiffAt ℝ n norm x

theorem ContDiffAt.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E} {x : G}
  {n : WithTop ℕ∞}, ContDiffAt ℝ n f x → f x ≠ 0 → ContDiffAt ℝ n (fun y ↦ ‖f y‖) x

theorem ContDiffAt.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {x : G} {n : WithTop ℕ∞},
  ContDiffAt ℝ n f x → ContDiffAt ℝ n g x → f x ≠ g x → ContDiffAt ℝ n (fun y ↦ dist (f y) (g y)) x

theorem ContDiffWithinAt.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G} {x : G} {n : WithTop ℕ∞}, ContDiffWithinAt ℝ n f s x → f x ≠ 0 → ContDiffWithinAt ℝ n (fun y ↦ ‖f y‖) s x

theorem ContDiffWithinAt.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G} {x : G} {n : WithTop ℕ∞},
  ContDiffWithinAt ℝ n f s x →
    ContDiffWithinAt ℝ n g s x → f x ≠ g x → ContDiffWithinAt ℝ n (fun y ↦ dist (f y) (g y)) s x

theorem ContDiffOn.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G} {n : WithTop ℕ∞}, ContDiffOn ℝ n f s → ContDiffOn ℝ n (fun y ↦ ‖f y‖ ^ 2) s

theorem ContDiffOn.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G} {n : WithTop ℕ∞}, ContDiffOn ℝ n f s → (∀ x ∈ s, f x ≠ 0) → ContDiffOn ℝ n (fun y ↦ ‖f y‖) s

theorem ContDiffOn.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G} {n : WithTop ℕ∞},
  ContDiffOn ℝ n f s → ContDiffOn ℝ n g s → (∀ x ∈ s, f x ≠ g x) → ContDiffOn ℝ n (fun y ↦ dist (f y) (g y)) s

theorem ContDiff.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {n : WithTop ℕ∞}, ContDiff ℝ n f → (∀ (x : G), f x ≠ 0) → ContDiff ℝ n fun y ↦ ‖f y‖

theorem ContDiff.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {n : WithTop ℕ∞}, ContDiff ℝ n f → ContDiff ℝ n g → (∀ (x : G), f x ≠ g x) → ContDiff ℝ n fun y ↦ dist (f y) (g y)

theorem hasStrictFDerivAt_norm_sq E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] (x : F),
  HasStrictFDerivAt (fun x ↦ ‖x‖ ^ 2) (2 • (innerSL ℝ) x) x

theorem fderiv_norm_sq_apply E0 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] (x : F),
  fderiv ℝ (fun x ↦ ‖x‖ ^ 2) x = 2 • (innerSL ℝ) x

theorem fderiv_norm_sq E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F],
  (fderiv ℝ fun x ↦ ‖x‖ ^ 2) = 2 • ⇑(innerSL ℝ)

theorem HasFDerivAt.norm_sq E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] {G : Type u_4}
  [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {x : G} {f : G → F} {f' : G →L[ℝ] F},
  HasFDerivAt f f' x → HasFDerivAt (fun x ↦ ‖f x‖ ^ 2) (2 • (innerSL ℝ) (f x) ∘SL f') x

theorem HasDerivAt.norm_sq E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] {f : ℝ → F} {f' : F} {x : ℝ},
  HasDerivAt f f' x → HasDerivAt (fun x ↦ ‖f x‖ ^ 2) (2 * inner ℝ (f x) f') x

theorem HasFDerivWithinAt.norm_sq E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] {G : Type u_4}
  [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {s : Set G} {x : G} {f : G → F} {f' : G →L[ℝ] F},
  HasFDerivWithinAt f f' s x → HasFDerivWithinAt (fun x ↦ ‖f x‖ ^ 2) (2 • (innerSL ℝ) (f x) ∘SL f') s x

theorem HasDerivWithinAt.norm_sq E1 #

∀ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace ℝ F] {f : ℝ → F} {f' : F} {s : Set ℝ}
  {x : ℝ}, HasDerivWithinAt f f' s x → HasDerivWithinAt (fun x ↦ ‖f x‖ ^ 2) (2 * inner ℝ (f x) f') s x

theorem DifferentiableAt.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {x : G}, DifferentiableAt ℝ f x → DifferentiableAt ℝ (fun y ↦ ‖f y‖ ^ 2) x

theorem DifferentiableAt.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {x : G}, DifferentiableAt ℝ f x → f x ≠ 0 → DifferentiableAt ℝ (fun y ↦ ‖f y‖) x

theorem DifferentiableAt.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {x : G}, DifferentiableAt ℝ f x → DifferentiableAt ℝ g x → f x ≠ g x → DifferentiableAt ℝ (fun y ↦ dist (f y) (g y)) x

theorem Differentiable.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E},
  Differentiable ℝ f → Differentiable ℝ fun y ↦ ‖f y‖ ^ 2

theorem Differentiable.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E},
  Differentiable ℝ f → (∀ (x : G), f x ≠ 0) → Differentiable ℝ fun y ↦ ‖f y‖

theorem Differentiable.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E},
  Differentiable ℝ f → Differentiable ℝ g → (∀ (x : G), f x ≠ g x) → Differentiable ℝ fun y ↦ dist (f y) (g y)

theorem DifferentiableWithinAt.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G} {x : G}, DifferentiableWithinAt ℝ f s x → DifferentiableWithinAt ℝ (fun y ↦ ‖f y‖ ^ 2) s x

theorem DifferentiableWithinAt.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G} {x : G}, DifferentiableWithinAt ℝ f s x → f x ≠ 0 → DifferentiableWithinAt ℝ (fun y ↦ ‖f y‖) s x

theorem DifferentiableWithinAt.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G} {x : G},
  DifferentiableWithinAt ℝ f s x →
    DifferentiableWithinAt ℝ g s x → f x ≠ g x → DifferentiableWithinAt ℝ (fun y ↦ dist (f y) (g y)) s x

theorem DifferentiableOn.norm_sq E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G}, DifferentiableOn ℝ f s → DifferentiableOn ℝ (fun y ↦ ‖f y‖ ^ 2) s

theorem DifferentiableOn.norm E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f : G → E}
  {s : Set G}, DifferentiableOn ℝ f s → (∀ x ∈ s, f x ≠ 0) → DifferentiableOn ℝ (fun y ↦ ‖f y‖) s

theorem DifferentiableOn.dist E1 #

∀ (𝕜 : Type u_1) {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [InnerProductSpace 𝕜 E]
  [inst : NormedSpace ℝ E] {G : Type u_4} [inst_2 : NormedAddCommGroup G] [inst_3 : NormedSpace ℝ G] {f g : G → E}
  {s : Set G},
  DifferentiableOn ℝ f s →
    DifferentiableOn ℝ g s → (∀ x ∈ s, f x ≠ g x) → DifferentiableOn ℝ (fun y ↦ dist (f y) (g y)) s

theorem differentiableWithinAt_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {t : Set H} {y : H} [Finite ι],
  DifferentiableWithinAt 𝕜 f t y ↔ ∀ (i : ι), DifferentiableWithinAt 𝕜 (fun x ↦ (f x).ofLp i) t y

theorem differentiableAt_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {y : H} [Finite ι],
  DifferentiableAt 𝕜 f y ↔ ∀ (i : ι), DifferentiableAt 𝕜 (fun x ↦ (f x).ofLp i) y

theorem differentiableOn_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {t : Set H} [Finite ι],
  DifferentiableOn 𝕜 f t ↔ ∀ (i : ι), DifferentiableOn 𝕜 (fun x ↦ (f x).ofLp i) t

theorem differentiable_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} [Finite ι],
  Differentiable 𝕜 f ↔ ∀ (i : ι), Differentiable 𝕜 fun x ↦ (f x).ofLp i

theorem hasStrictFDerivAt_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {f' : H →L[𝕜] EuclideanSpace 𝕜 ι} {y : H} [Finite ι],
  HasStrictFDerivAt f f' y ↔ ∀ (i : ι), HasStrictFDerivAt (fun x ↦ (f x).ofLp i) (PiLp.proj 2 (fun x ↦ 𝕜) i ∘SL f') y

theorem hasFDerivWithinAt_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {f' : H →L[𝕜] EuclideanSpace 𝕜 ι} {t : Set H} {y : H}
  [Finite ι],
  HasFDerivWithinAt f f' t y ↔
    ∀ (i : ι), HasFDerivWithinAt (fun x ↦ (f x).ofLp i) (PiLp.proj 2 (fun x ↦ 𝕜) i ∘SL f') t y

theorem contDiffWithinAt_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {t : Set H} {y : H} [inst_3 : Fintype ι] {n : WithTop ℕ∞},
  ContDiffWithinAt 𝕜 n f t y ↔ ∀ (i : ι), ContDiffWithinAt 𝕜 n (fun x ↦ (f x).ofLp i) t y

theorem contDiffAt_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {y : H} [inst_3 : Fintype ι] {n : WithTop ℕ∞},
  ContDiffAt 𝕜 n f y ↔ ∀ (i : ι), ContDiffAt 𝕜 n (fun x ↦ (f x).ofLp i) y

theorem contDiffOn_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} {t : Set H} [inst_3 : Fintype ι] {n : WithTop ℕ∞},
  ContDiffOn 𝕜 n f t ↔ ∀ (i : ι), ContDiffOn 𝕜 n (fun x ↦ (f x).ofLp i) t

theorem contDiff_euclidean E1 #

∀ {𝕜 : Type u_1} {ι : Type u_2} {H : Type u_3} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup H]
  [inst_2 : NormedSpace 𝕜 H] {f : H → EuclideanSpace 𝕜 ι} [inst_3 : Fintype ι] {n : WithTop ℕ∞},
  ContDiff 𝕜 n f ↔ ∀ (i : ι), ContDiff 𝕜 n fun x ↦ (f x).ofLp i

theorem OpenPartialHomeomorph.contDiff_univUnitBall E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E],
  ContDiff ℝ ↑n ↑OpenPartialHomeomorph.univUnitBall

theorem OpenPartialHomeomorph.contDiffOn_univUnitBall_symm E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E],
  ContDiffOn ℝ (↑n) (↑OpenPartialHomeomorph.univUnitBall.symm) (Metric.ball 0 1)

theorem Homeomorph.contDiff_unitBall E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E],
  ContDiff ℝ ↑n fun x ↦ ↑(Homeomorph.unitBall x)

theorem OpenPartialHomeomorph.contDiff_unitBallBall E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {c : E} {r : ℝ} (hr : 0 < r),
  ContDiff ℝ ↑n ↑(OpenPartialHomeomorph.unitBallBall c r hr)

theorem OpenPartialHomeomorph.contDiff_unitBallBall_symm E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {c : E} {r : ℝ} (hr : 0 < r),
  ContDiff ℝ ↑n ↑(OpenPartialHomeomorph.unitBallBall c r hr).symm

theorem OpenPartialHomeomorph.contDiff_univBall E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {c : E} {r : ℝ},
  ContDiff ℝ ↑n ↑(OpenPartialHomeomorph.univBall c r)

theorem OpenPartialHomeomorph.contDiffOn_univBall_symm E1 #

∀ {n : ℕ∞} {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] {c : E} {r : ℝ},
  ContDiffOn ℝ (↑n) (↑(OpenPartialHomeomorph.univBall c r).symm) (Metric.ball c r)