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.LineDeriv.Basic

87 declarations. Mathlib docs · Source

Line derivatives

We define the line derivative of a function f : E → F, at a point x : E along a vector v : E, as the element f' : F such that f (x + t • v) = f x + t • f' + o (t) as t tends to 0 in the scalar field 𝕜, if it exists. It is denoted by lineDeriv 𝕜 f x v.

This notion is generally less well behaved than the full Fréchet derivative (for instance, the composition of functions which are line-differentiable is not line-differentiable in general). The Fréchet derivative should therefore be favored over this one in general, although the line derivative may sometimes prove handy.

The line derivative in direction v is also called the Gateaux derivative in direction v, although the term "Gateaux derivative" is sometimes reserved for the situation where there is such a derivative in all directions, for the map v ↦ lineDeriv 𝕜 f x v (which doesn't have to be linear in general).

Main definition and results

We mimic the definitions and statements for the Fréchet derivative and the one-dimensional derivative. We define in particular the following objects:

  • LineDifferentiableWithinAt 𝕜 f s x v
  • LineDifferentiableAt 𝕜 f x v
  • HasLineDerivWithinAt 𝕜 f f' s x v
  • HasLineDerivAt 𝕜 f s x v
  • lineDerivWithin 𝕜 f s x v
  • lineDeriv 𝕜 f x v

and develop about them a basic API inspired by the one for the Fréchet derivative.

We depart from the Fréchet derivative in two places, as the dependence of the following predicates on the direction would make them barely usable:

  • We do not define an analogue of the predicate UniqueDiffOn;
  • We do not define LineDifferentiableOn nor LineDifferentiable.

Results that do not rely on a topological structure on E

Results that need a normed space structure on E

def HasLineDerivWithinAt E1 #

(𝕜 : Type u_1) →
  [inst : NontriviallyNormedField 𝕜] →
    {F : Type u_2} →
      [inst_1 : NormedAddCommGroup F] →
        [NormedSpace 𝕜 F] →
          {E : Type u_3} → [inst_3 : AddCommGroup E] → [Module 𝕜 E] → (E → F) → F → Set E → E → E → Prop

f has the derivative f' at the point x along the direction v in the set s. That is, f (x + t v) = f x + t • f' + o (t) when t tends to 0 and x + t v ∈ s. Note that this definition is less well behaved than the total Fréchet derivative, which should generally be favored over this one.

def HasLineDerivAt E3 #

(𝕜 : Type u_1) →
  [inst : NontriviallyNormedField 𝕜] →
    {F : Type u_2} →
      [inst_1 : NormedAddCommGroup F] →
        [NormedSpace 𝕜 F] → {E : Type u_3} → [inst_3 : AddCommGroup E] → [Module 𝕜 E] → (E → F) → F → E → E → Prop

f has the derivative f' at the point x along the direction v. That is, f (x + t v) = f x + t • f' + o (t) when t tends to 0. Note that this definition is less well behaved than the total Fréchet derivative, which should generally be favored over this one.

def LineDifferentiableWithinAt E1 #

(𝕜 : Type u_1) →
  [inst : NontriviallyNormedField 𝕜] →
    {F : Type u_2} →
      [inst_1 : NormedAddCommGroup F] →
        [NormedSpace 𝕜 F] → {E : Type u_3} → [inst_3 : AddCommGroup E] → [Module 𝕜 E] → (E → F) → Set E → E → E → Prop

f is line-differentiable at the point x in the direction v in the set s if there exists f' such that f (x + t v) = f x + t • f' + o (t) when t tends to 0 and x + t v ∈ s.

def LineDifferentiableAt E1 #

(𝕜 : Type u_1) →
  [inst : NontriviallyNormedField 𝕜] →
    {F : Type u_2} →
      [inst_1 : NormedAddCommGroup F] →
        [NormedSpace 𝕜 F] → {E : Type u_3} → [inst_3 : AddCommGroup E] → [Module 𝕜 E] → (E → F) → E → E → Prop

f is line-differentiable at the point x in the direction v if there exists f' such that f (x + t v) = f x + t • f' + o (t) when t tends to 0.

def lineDerivWithin E1 #

(𝕜 : Type u_1) →
  [inst : NontriviallyNormedField 𝕜] →
    {F : Type u_2} →
      [inst_1 : NormedAddCommGroup F] →
        [NormedSpace 𝕜 F] → {E : Type u_3} → [inst_3 : AddCommGroup E] → [Module 𝕜 E] → (E → F) → Set E → E → E → F

Line derivative of f at the point x in the direction v within the set s, if it exists. Zero otherwise.

If the line derivative exists (i.e., ∃ f', HasLineDerivWithinAt 𝕜 f f' s x v), then f (x + t v) = f x + t lineDerivWithin 𝕜 f s x v + o (t) when t tends to 0 and x + t v ∈ s.

def lineDeriv E3 #

(𝕜 : Type u_1) →
  [inst : NontriviallyNormedField 𝕜] →
    {F : Type u_2} →
      [inst_1 : NormedAddCommGroup F] →
        [NormedSpace 𝕜 F] → {E : Type u_3} → [inst_3 : AddCommGroup E] → [Module 𝕜 E] → (E → F) → E → E → F

Line derivative of f at the point x in the direction v, if it exists. Zero otherwise.

If the line derivative exists (i.e., ∃ f', HasLineDerivAt 𝕜 f f' x v), then f (x + t v) = f x + t lineDeriv 𝕜 f x v + o (t) when t tends to 0.

theorem HasLineDerivWithinAt.mono E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {s t : Set E} {x v : E}, HasLineDerivWithinAt 𝕜 f f' s x v → t ⊆ s → HasLineDerivWithinAt 𝕜 f f' t x v

theorem HasLineDerivAt.hasLineDerivWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E}, HasLineDerivAt 𝕜 f f' x v → ∀ (s : Set E), HasLineDerivWithinAt 𝕜 f f' s x v

theorem HasLineDerivWithinAt.lineDifferentiableWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {s : Set E} {x v : E}, HasLineDerivWithinAt 𝕜 f f' s x v → LineDifferentiableWithinAt 𝕜 f s x v

theorem HasLineDerivAt.lineDifferentiableAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E}, HasLineDerivAt 𝕜 f f' x v → LineDifferentiableAt 𝕜 f x v

theorem LineDifferentiableWithinAt.hasLineDerivWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E}, LineDifferentiableWithinAt 𝕜 f s x v → HasLineDerivWithinAt 𝕜 f (lineDerivWithin 𝕜 f s x v) s x v

theorem LineDifferentiableAt.hasLineDerivAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E},
  LineDifferentiableAt 𝕜 f x v → HasLineDerivAt 𝕜 f (lineDeriv 𝕜 f x v) x v

theorem hasLineDerivWithinAt_univ E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E}, HasLineDerivWithinAt 𝕜 f f' Set.univ x v ↔ HasLineDerivAt 𝕜 f f' x v

theorem lineDerivWithin_zero_of_not_lineDifferentiableWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E}, ¬LineDifferentiableWithinAt 𝕜 f s x v → lineDerivWithin 𝕜 f s x v = 0

theorem lineDeriv_zero_of_not_lineDifferentiableAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E},
  ¬LineDifferentiableAt 𝕜 f x v → lineDeriv 𝕜 f x v = 0

theorem hasLineDerivAt_iff_isLittleO_nhds_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E}, HasLineDerivAt 𝕜 f f' x v ↔ (fun t ↦ f (x + t • v) - f x - t • f') =o[nhds 0] fun t ↦ t

theorem HasLineDerivAt.unique E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f₀' f₁' : F}
  {x v : E}, HasLineDerivAt 𝕜 f f₀' x v → HasLineDerivAt 𝕜 f f₁' x v → f₀' = f₁'

theorem HasLineDerivAt.lineDeriv E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E}, HasLineDerivAt 𝕜 f f' x v → lineDeriv 𝕜 f x v = f'

theorem lineDifferentiableWithinAt_univ E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E},
  LineDifferentiableWithinAt 𝕜 f Set.univ x v ↔ LineDifferentiableAt 𝕜 f x v

theorem LineDifferentiableAt.lineDifferentiableWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E}, LineDifferentiableAt 𝕜 f x v → LineDifferentiableWithinAt 𝕜 f s x v

theorem lineDerivWithin_univ E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E},
  lineDerivWithin 𝕜 f Set.univ x v = lineDeriv 𝕜 f x v

theorem LineDifferentiableWithinAt.mono E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s t : Set E}
  {x v : E}, LineDifferentiableWithinAt 𝕜 f t x v → s ⊆ t → LineDifferentiableWithinAt 𝕜 f s x v

theorem HasLineDerivWithinAt.congr_mono E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {f' : F}
  {s t : Set E} {x v : E},
  HasLineDerivWithinAt 𝕜 f f' s x v → Set.EqOn f₁ f t → f₁ x = f x → t ⊆ s → HasLineDerivWithinAt 𝕜 f₁ f' t x v

theorem HasLineDerivWithinAt.congr E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {f' : F}
  {s : Set E} {x v : E},
  HasLineDerivWithinAt 𝕜 f f' s x v → Set.EqOn f₁ f s → f₁ x = f x → HasLineDerivWithinAt 𝕜 f₁ f' s x v

theorem HasLineDerivWithinAt.congr' E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {f' : F}
  {s : Set E} {x v : E},
  HasLineDerivWithinAt 𝕜 f f' s x v → Set.EqOn f₁ f s → x ∈ s → HasLineDerivWithinAt 𝕜 f₁ f' s x v

theorem LineDifferentiableWithinAt.congr_mono E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {s t : Set E}
  {x v : E},
  LineDifferentiableWithinAt 𝕜 f s x v → Set.EqOn f₁ f t → f₁ x = f x → t ⊆ s → LineDifferentiableWithinAt 𝕜 f₁ t x v

theorem LineDifferentiableWithinAt.congr E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {s : Set E}
  {x v : E},
  LineDifferentiableWithinAt 𝕜 f s x v → (∀ x ∈ s, f₁ x = f x) → f₁ x = f x → LineDifferentiableWithinAt 𝕜 f₁ s x v

theorem lineDerivWithin_congr E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {s : Set E}
  {x v : E}, Set.EqOn f₁ f s → f₁ x = f x → lineDerivWithin 𝕜 f₁ s x v = lineDerivWithin 𝕜 f s x v

theorem lineDerivWithin_congr' E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f f₁ : E → F} {s : Set E}
  {x v : E}, Set.EqOn f₁ f s → x ∈ s → lineDerivWithin 𝕜 f₁ s x v = lineDerivWithin 𝕜 f s x v

theorem hasLineDerivAt_iff_tendsto_slope_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E},
  HasLineDerivAt 𝕜 f f' x v ↔ Filter.Tendsto (fun t ↦ t⁻¹ • (f (x + t • v) - f x)) (nhdsWithin 0 {0}ᶜ) (nhds f')

theorem HasLineDerivAt.tendsto_slope_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E},
  HasLineDerivAt 𝕜 f f' x v → Filter.Tendsto (fun t ↦ t⁻¹ • (f (x + t • v) - f x)) (nhdsWithin 0 {0}ᶜ) (nhds f')

Alias of the forward direction of hasLineDerivAt_iff_tendsto_slope_zero.

theorem HasLineDerivAt.tendsto_slope_zero_right E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E} [inst_5 : Preorder 𝕜],
  HasLineDerivAt 𝕜 f f' x v → Filter.Tendsto (fun t ↦ t⁻¹ • (f (x + t • v) - f x)) (nhdsWithin 0 (Set.Ioi 0)) (nhds f')

theorem HasLineDerivAt.tendsto_slope_zero_left E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {x v : E} [inst_5 : Preorder 𝕜],
  HasLineDerivAt 𝕜 f f' x v → Filter.Tendsto (fun t ↦ t⁻¹ • (f (x + t • v) - f x)) (nhdsWithin 0 (Set.Iio 0)) (nhds f')

theorem HasLineDerivWithinAt.hasLineDerivAt' E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {f' : F}
  {s : Set E} {x v : E},
  HasLineDerivWithinAt 𝕜 f f' s x v → (∀ᶠ (t : 𝕜) in nhds 0, x + t • v ∈ s) → HasLineDerivAt 𝕜 f f' x v

theorem HasLineDerivWithinAt.mono_of_mem_nhdsWithin E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {f' : F} {s t : Set E} {x v : E},
  HasLineDerivWithinAt 𝕜 f f' t x v → t ∈ nhdsWithin x s → HasLineDerivWithinAt 𝕜 f f' s x v

theorem HasLineDerivWithinAt.hasLineDerivAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {f' : F} {s : Set E} {x v : E}, HasLineDerivWithinAt 𝕜 f f' s x v → s ∈ nhds x → HasLineDerivAt 𝕜 f f' x v

theorem LineDifferentiableWithinAt.lineDifferentiableAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s : Set E} {x v : E}, LineDifferentiableWithinAt 𝕜 f s x v → s ∈ nhds x → LineDifferentiableAt 𝕜 f x v

theorem HasFDerivWithinAt.hasLineDerivWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s : Set E} {x : E} {L : E →L[𝕜] F}, HasFDerivWithinAt f L s x → ∀ (v : E), HasLineDerivWithinAt 𝕜 f (L v) s x v

theorem DifferentiableWithinAt.lineDifferentiableWithinAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s : Set E} {x v : E}, DifferentiableWithinAt 𝕜 f s x → LineDifferentiableWithinAt 𝕜 f s x v

theorem HasFDerivAt.hasLineDerivAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {x : E} {L : E →L[𝕜] F}, HasFDerivAt f L x → ∀ (v : E), HasLineDerivAt 𝕜 f (L v) x v

theorem HasFDerivAt.apply_self_eq_smul_of_eventuallyEq E3 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {x : E} {L : E →L[𝕜] F} {w : 𝕜 → 𝕜} {w' : 𝕜},
  HasFDerivAt f L x → HasDerivAt w w' 1 → ((fun t ↦ f (t • x)) =ᶠ[nhds 1] fun t ↦ w t • f x) → L x = w' • f x

A local, vector-valued version of Euler's theorem on homogeneous functions.

If f (t • x) = w t • f x for t in a neighborhood of 1, then the derivative of f at x, applied to x, is w' • f x, where w' is the derivative of w at 1.

theorem HasFDerivAt.apply_self_eq_smul_of_homogeneous E3 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {x : E} {L : E →L[𝕜] F} {w : 𝕜 → 𝕜} {w' : 𝕜},
  HasFDerivAt f L x → HasDerivAt w w' 1 → (∀ (t : 𝕜) (y : E), f (t • y) = w t • f y) → L x = w' • f x

A vector-valued version of Euler's theorem for a homogeneous function.

If f (t • y) = w t • f y for all scalars t and points y, then the derivative of f at x, applied to x, is w' • f x, where w' is the derivative of w at 1.

theorem HasFDerivAt.apply_self_eq_nsmul_of_homogeneous E3 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {x : E} {L : E →L[𝕜] F} {k : ℕ}, HasFDerivAt f L x → (∀ (t : 𝕜) (y : E), f (t • y) = t ^ k • f y) → L x = k • f x

A vector-valued version of Euler's theorem for a homogeneous function of natural degree.

If f (t • y) = t ^ k • f y for all scalars t and points y, then the derivative of f at x, applied to x, is k • f x.

theorem DifferentiableAt.lineDifferentiableAt E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {x v : E}, DifferentiableAt 𝕜 f x → LineDifferentiableAt 𝕜 f x v

theorem DifferentiableAt.lineDeriv_eq_fderiv E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {x v : E}, DifferentiableAt 𝕜 f x → lineDeriv 𝕜 f x v = (fderiv 𝕜 f x) v

theorem LineDifferentiableWithinAt.mono_of_mem_nhdsWithin E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s t : Set E} {x v : E},
  LineDifferentiableWithinAt 𝕜 f s x v → s ∈ nhdsWithin x t → LineDifferentiableWithinAt 𝕜 f t x v

theorem lineDerivWithin_of_mem_nhds E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s : Set E} {x v : E}, s ∈ nhds x → lineDerivWithin 𝕜 f s x v = lineDeriv 𝕜 f x v

theorem lineDerivWithin_of_isOpen E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s : Set E} {x v : E}, IsOpen s → x ∈ s → lineDerivWithin 𝕜 f s x v = lineDeriv 𝕜 f x v

theorem hasLineDerivWithinAt_congr_set E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {f' : F} {s t : Set E} {x v : E},
  s =ᶠ[nhds x] t → (HasLineDerivWithinAt 𝕜 f f' s x v ↔ HasLineDerivWithinAt 𝕜 f f' t x v)

theorem lineDifferentiableWithinAt_congr_set E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s t : Set E} {x v : E},
  s =ᶠ[nhds x] t → (LineDifferentiableWithinAt 𝕜 f s x v ↔ LineDifferentiableWithinAt 𝕜 f t x v)

theorem lineDerivWithin_congr_set E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f : E → F}
  {s t : Set E} {x v : E}, s =ᶠ[nhds x] t → lineDerivWithin 𝕜 f s x v = lineDerivWithin 𝕜 f t x v

theorem Filter.EventuallyEq.hasLineDerivAt_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f₀ f₁ : E → F}
  {f' : F} {x v : E}, f₀ =ᶠ[nhds x] f₁ → (HasLineDerivAt 𝕜 f₀ f' x v ↔ HasLineDerivAt 𝕜 f₁ f' x v)

theorem Filter.EventuallyEq.lineDifferentiableAt_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f₀ f₁ : E → F}
  {x v : E}, f₀ =ᶠ[nhds x] f₁ → (LineDifferentiableAt 𝕜 f₀ x v ↔ LineDifferentiableAt 𝕜 f₁ x v)

theorem Filter.EventuallyEq.hasLineDerivWithinAt_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f₀ f₁ : E → F}
  {f' : F} {s : Set E} {x v : E},
  f₀ =ᶠ[nhdsWithin x s] f₁ → f₀ x = f₁ x → (HasLineDerivWithinAt 𝕜 f₀ f' s x v ↔ HasLineDerivWithinAt 𝕜 f₁ f' s x v)

theorem Filter.EventuallyEq.hasLineDerivWithinAt_iff_of_mem E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f₀ f₁ : E → F}
  {f' : F} {s : Set E} {x v : E},
  f₀ =ᶠ[nhdsWithin x s] f₁ → x ∈ s → (HasLineDerivWithinAt 𝕜 f₀ f' s x v ↔ HasLineDerivWithinAt 𝕜 f₁ f' s x v)

theorem Filter.EventuallyEq.lineDifferentiableWithinAt_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f₀ f₁ : E → F}
  {s : Set E} {x v : E},
  f₀ =ᶠ[nhdsWithin x s] f₁ →
    f₀ x = f₁ x → (LineDifferentiableWithinAt 𝕜 f₀ s x v ↔ LineDifferentiableWithinAt 𝕜 f₁ s x v)

theorem Filter.EventuallyEq.lineDifferentiableWithinAt_iff_of_mem E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f₀ f₁ : E → F}
  {s : Set E} {x v : E},
  f₀ =ᶠ[nhdsWithin x s] f₁ → x ∈ s → (LineDifferentiableWithinAt 𝕜 f₀ s x v ↔ LineDifferentiableWithinAt 𝕜 f₁ s x v)

theorem HasLineDerivWithinAt.congr_of_eventuallyEq E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {f' : F} {s : Set E} {x v : E},
  HasLineDerivWithinAt 𝕜 f f' s x v → f₁ =ᶠ[nhdsWithin x s] f → f₁ x = f x → HasLineDerivWithinAt 𝕜 f₁ f' s x v

theorem HasLineDerivAt.congr_of_eventuallyEq E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {f' : F} {x v : E}, HasLineDerivAt 𝕜 f f' x v → f₁ =ᶠ[nhds x] f → HasLineDerivAt 𝕜 f₁ f' x v

theorem LineDifferentiableWithinAt.congr_of_eventuallyEq E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {s : Set E} {x v : E},
  LineDifferentiableWithinAt 𝕜 f s x v → f₁ =ᶠ[nhdsWithin x s] f → f₁ x = f x → LineDifferentiableWithinAt 𝕜 f₁ s x v

theorem LineDifferentiableAt.congr_of_eventuallyEq E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {x v : E}, LineDifferentiableAt 𝕜 f x v → f₁ =ᶠ[nhds x] f → LineDifferentiableAt 𝕜 f₁ x v

theorem Filter.EventuallyEq.lineDerivWithin_eq E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {s : Set E} {x v : E}, f₁ =ᶠ[nhdsWithin x s] f → f₁ x = f x → lineDerivWithin 𝕜 f₁ s x v = lineDerivWithin 𝕜 f s x v

theorem Filter.EventuallyEq.lineDerivWithin_eq_nhds E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {s : Set E} {x v : E}, f₁ =ᶠ[nhds x] f → lineDerivWithin 𝕜 f₁ s x v = lineDerivWithin 𝕜 f s x v

theorem Filter.EventuallyEq.lineDeriv_eq E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {f f₁ : E → F}
  {x v : E}, f₁ =ᶠ[nhds x] f → lineDeriv 𝕜 f₁ x v = lineDeriv 𝕜 f x v

theorem HasLineDerivAt.le_of_lip' E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {v : E}
  {f : E → F} {f' : F} {x₀ : E},
  HasLineDerivAt 𝕜 f f' x₀ v → ∀ {C : ℝ}, 0 ≤ C → (∀ᶠ (x : E) in nhds x₀, ‖f x - f x₀‖ ≤ C * ‖x - x₀‖) → ‖f'‖ ≤ C * ‖v‖

Converse to the mean value inequality: if f is line differentiable at x₀ and C-lipschitz on a neighborhood of x₀ then its line derivative at x₀ in the direction v has norm bounded by C * ‖v‖. This version only assumes that ‖f x - f x₀‖ ≤ C * ‖x - x₀‖ in a neighborhood of x.

theorem HasLineDerivAt.le_of_lipschitzOn E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {v : E}
  {f : E → F} {f' : F} {x₀ : E},
  HasLineDerivAt 𝕜 f f' x₀ v → ∀ {s : Set E}, s ∈ nhds x₀ → ∀ {C : NNReal}, LipschitzOnWith C f s → ‖f'‖ ≤ ↑C * ‖v‖

Converse to the mean value inequality: if f is line differentiable at x₀ and C-lipschitz on a neighborhood of x₀ then its line derivative at x₀ in the direction v has norm bounded by C * ‖v‖. This version only assumes that ‖f x - f x₀‖ ≤ C * ‖x - x₀‖ in a neighborhood of x.

theorem HasLineDerivAt.le_of_lipschitz E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {v : E}
  {f : E → F} {f' : F} {x₀ : E}, HasLineDerivAt 𝕜 f f' x₀ v → ∀ {C : NNReal}, LipschitzWith C f → ‖f'‖ ≤ ↑C * ‖v‖

Converse to the mean value inequality: if f is line differentiable at x₀ and C-lipschitz then its line derivative at x₀ in the direction v has norm bounded by C * ‖v‖.

theorem norm_lineDeriv_le_of_lip' E1 #

∀ (𝕜 : Type u_1) [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {v : E}
  {f : E → F} {x₀ : E} {C : ℝ},
  0 ≤ C → (∀ᶠ (x : E) in nhds x₀, ‖f x - f x₀‖ ≤ C * ‖x - x₀‖) → ‖lineDeriv 𝕜 f x₀ v‖ ≤ C * ‖v‖

Converse to the mean value inequality: if f is C-lipschitz on a neighborhood of x₀ then its line derivative at x₀ in the direction v has norm bounded by C * ‖v‖. This version only assumes that ‖f x - f x₀‖ ≤ C * ‖x - x₀‖ in a neighborhood of x. Version using lineDeriv.

theorem norm_lineDeriv_le_of_lipschitzOn E1 #

∀ (𝕜 : Type u_1) [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {v : E}
  {f : E → F} {x₀ : E} {s : Set E},
  s ∈ nhds x₀ → ∀ {C : NNReal}, LipschitzOnWith C f s → ‖lineDeriv 𝕜 f x₀ v‖ ≤ ↑C * ‖v‖

Converse to the mean value inequality: if f is C-lipschitz on a neighborhood of x₀ then its line derivative at x₀ in the direction v has norm bounded by C * ‖v‖. Version using lineDeriv.

theorem norm_lineDeriv_le_of_lipschitz E1 #

∀ (𝕜 : Type u_1) [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : NormedAddCommGroup E] [inst_4 : NormedSpace 𝕜 E] {v : E}
  {f : E → F} {x₀ : E} {C : NNReal}, LipschitzWith C f → ‖lineDeriv 𝕜 f x₀ v‖ ≤ ↑C * ‖v‖

Converse to the mean value inequality: if f is C-lipschitz then its line derivative at x₀ in the direction v has norm bounded by C * ‖v‖. Version using lineDeriv.

theorem hasLineDerivWithinAt_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x : E}, HasLineDerivWithinAt 𝕜 f 0 s x 0

theorem hasLineDerivAt_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x : E},
  HasLineDerivAt 𝕜 f 0 x 0

theorem lineDifferentiableWithinAt_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x : E}, LineDifferentiableWithinAt 𝕜 f s x 0

theorem lineDifferentiableAt_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x : E},
  LineDifferentiableAt 𝕜 f x 0

theorem lineDeriv_zero E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x : E},
  lineDeriv 𝕜 f x 0 = 0

theorem HasLineDerivAt.of_comp E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {E' : Type u_4}
  [inst_5 : AddCommGroup E'] [inst_6 : Module 𝕜 E'] {f : E → F} {f' : F} {x : E'} {L : E' →ₗ[𝕜] E} {v : E'},
  HasLineDerivAt 𝕜 (f ∘ ⇑L) f' x v → HasLineDerivAt 𝕜 f f' (L x) (L v)

theorem LineDifferentiableAt.of_comp E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {E' : Type u_4}
  [inst_5 : AddCommGroup E'] [inst_6 : Module 𝕜 E'] {f : E → F} {x : E'} {L : E' →ₗ[𝕜] E} {v : E'},
  LineDifferentiableAt 𝕜 (f ∘ ⇑L) x v → LineDifferentiableAt 𝕜 f (L x) (L v)

theorem HasLineDerivWithinAt.smul E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E} {f' : F}, HasLineDerivWithinAt 𝕜 f f' s x v → ∀ (c : 𝕜), HasLineDerivWithinAt 𝕜 f (c • f') s x (c • v)

theorem hasLineDerivWithinAt_smul_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E} {f' : F} {c : 𝕜},
  c ≠ 0 → (HasLineDerivWithinAt 𝕜 f (c • f') s x (c • v) ↔ HasLineDerivWithinAt 𝕜 f f' s x v)

theorem HasLineDerivAt.smul E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E}
  {f' : F}, HasLineDerivAt 𝕜 f f' x v → ∀ (c : 𝕜), HasLineDerivAt 𝕜 f (c • f') x (c • v)

theorem hasLineDerivAt_smul_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E}
  {f' : F} {c : 𝕜}, c ≠ 0 → (HasLineDerivAt 𝕜 f (c • f') x (c • v) ↔ HasLineDerivAt 𝕜 f f' x v)

theorem LineDifferentiableWithinAt.smul E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E}, LineDifferentiableWithinAt 𝕜 f s x v → ∀ (c : 𝕜), LineDifferentiableWithinAt 𝕜 f s x (c • v)

theorem lineDifferentiableWithinAt_smul_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {s : Set E}
  {x v : E} {c : 𝕜}, c ≠ 0 → (LineDifferentiableWithinAt 𝕜 f s x (c • v) ↔ LineDifferentiableWithinAt 𝕜 f s x v)

theorem LineDifferentiableAt.smul E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E},
  LineDifferentiableAt 𝕜 f x v → ∀ (c : 𝕜), LineDifferentiableAt 𝕜 f x (c • v)

theorem lineDifferentiableAt_smul_iff E0 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E}
  {c : 𝕜}, c ≠ 0 → (LineDifferentiableAt 𝕜 f x (c • v) ↔ LineDifferentiableAt 𝕜 f x v)

theorem lineDeriv_smul E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E}
  {c : 𝕜}, lineDeriv 𝕜 f x (c • v) = c • lineDeriv 𝕜 f x v

theorem lineDeriv_neg E1 #

∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {F : Type u_2} [inst_1 : NormedAddCommGroup F]
  [inst_2 : NormedSpace 𝕜 F] {E : Type u_3} [inst_3 : AddCommGroup E] [inst_4 : Module 𝕜 E] {f : E → F} {x v : E},
  lineDeriv 𝕜 f x (-v) = -lineDeriv 𝕜 f x v