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.RCLike

16 declarations and 4 deprecated aliases. Mathlib docs · Source

Higher differentiability over ℝ or ℂ

Results over ℝ or ℂ

The results in this section rely on the Mean Value Theorem, and therefore hold only over ℝ (and its extension fields such as ℂ).

theorem HasFTaylorSeriesUpToOn.hasStrictFDerivAt E1 #

∀ {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E'] [inst_2 : NormedSpace 𝕂 E']
  {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {n : WithTop ℕ∞} {s : Set E'}
  {f : E' → F'} {x : E'} {p : E' → FormalMultilinearSeries 𝕂 E' F'},
  HasFTaylorSeriesUpToOn n f p s →
    n ≠ 0 → s ∈ nhds x → HasStrictFDerivAt f ((continuousMultilinearCurryFin1 𝕂 E' F') (p x 1)) x

If a function has a Taylor series at order at least 1, then at points in the interior of the domain of definition, the term of order 1 of this series is a strict derivative of f.

theorem ContDiffAt.hasStrictFDerivAt E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E']
  [inst_2 : NormedSpace 𝕂 E'] {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {f : E' → F'}
  {f' : E' →L[𝕂] F'} {x : E'}, ContDiffAt 𝕂 n f x → HasFDerivAt f f' x → n ≠ 0 → HasStrictFDerivAt f f' x

If a function is C^n with n ≠ 0 around a point, and its derivative at that point is given to us as f', then f' is also a strict derivative.

theorem ContDiffAt.hasStrictDerivAt E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {F' : Type u_3} [inst_1 : NormedAddCommGroup F']
  [inst_2 : NormedSpace 𝕂 F'] {f : 𝕂 → F'} {f' : F'} {x : 𝕂},
  ContDiffAt 𝕂 n f x → HasDerivAt f f' x → n ≠ 0 → HasStrictDerivAt f f' x

If a function is C^n with 1 ≤ n around a point, and its derivative at that point is given to us as f', then f' is also a strict derivative.

theorem ContDiffAt.hasStrictFDerivAt_fderiv E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E']
  [inst_2 : NormedSpace 𝕂 E'] {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {f : E' → F'}
  {x : E'}, ContDiffAt 𝕂 n f x → n ≠ 0 → HasStrictFDerivAt f (fderiv 𝕂 f x) x

If a function is C^n with 1 ≤ n around a point, then the derivative of f at this point is also a strict derivative.

theorem ContDiffAt.hasStrictDerivAt_deriv E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {F' : Type u_3} [inst_1 : NormedAddCommGroup F']
  [inst_2 : NormedSpace 𝕂 F'] {f : 𝕂 → F'} {x : 𝕂}, ContDiffAt 𝕂 n f x → n ≠ 0 → HasStrictDerivAt f (deriv f x) x

If a function is C^n with 1 ≤ n around a point, then the derivative of f at this point is also a strict derivative.

theorem ContDiff.hasStrictFDerivAt E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E']
  [inst_2 : NormedSpace 𝕂 E'] {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {f : E' → F'}
  {x : E'}, ContDiff 𝕂 n f → n ≠ 0 → HasStrictFDerivAt f (fderiv 𝕂 f x) x

If a function is C^n with 1 ≤ n, then the derivative of f is also a strict derivative.

theorem ContDiff.hasStrictDerivAt E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {F' : Type u_3} [inst_1 : NormedAddCommGroup F']
  [inst_2 : NormedSpace 𝕂 F'] {f : 𝕂 → F'} {x : 𝕂}, ContDiff 𝕂 n f → n ≠ 0 → HasStrictDerivAt f (deriv f x) x

If a function is C^n with 1 ≤ n, then the derivative of f is also a strict derivative.

theorem HasFTaylorSeriesUpToOn.exists_lipschitzOnWith_of_nnNorm_lt E1 #

∀ {E : Type u_4} {F : Type u_5} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] {f : E → F} {p : E → FormalMultilinearSeries ℝ E F} {s : Set E} {x : E},
  HasFTaylorSeriesUpToOn 1 f p (insert x s) →
    Convex ℝ s → ∀ (K : NNReal), ‖p x 1‖₊ < K → ∃ t ∈ nhdsWithin x s, LipschitzOnWith K f t

If f has a formal Taylor series p up to order 1 on {x} ∪ s, where s is a convex set, and ‖p x 1‖₊ < K, then f is K-Lipschitz in a neighborhood of x within s.

theorem HasFTaylorSeriesUpToOn.exists_lipschitzOnWith E1 #

∀ {E : Type u_4} {F : Type u_5} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] {f : E → F} {p : E → FormalMultilinearSeries ℝ E F} {s : Set E} {x : E},
  HasFTaylorSeriesUpToOn 1 f p (insert x s) → Convex ℝ s → ∃ K, ∃ t ∈ nhdsWithin x s, LipschitzOnWith K f t

If f has a formal Taylor series p up to order 1 on {x} ∪ s, where s is a convex set, then f is Lipschitz in a neighborhood of x within s.

theorem ContDiffWithinAt.exists_lipschitzOnWith E1 #

∀ {E : Type u_4} {F : Type u_5} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] {f : E → F} {s : Set E} {x : E},
  ContDiffWithinAt ℝ 1 f s x → Convex ℝ s → ∃ K, ∃ t ∈ nhdsWithin x s, LipschitzOnWith K f t

If f is C^1 within a convex set s at x, then it is Lipschitz on a neighborhood of x within s.

theorem ContDiffAt.exists_lipschitzOnWith_of_nnNorm_lt E1 #

∀ {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E'] [inst_2 : NormedSpace 𝕂 E']
  {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {f : E' → F'} {x : E'},
  ContDiffAt 𝕂 1 f x → ∀ (K : NNReal), ‖fderiv 𝕂 f x‖₊ < K → ∃ t ∈ nhds x, LipschitzOnWith K f t

If f is C^1 at x and K > ‖fderiv 𝕂 f x‖, then f is K-Lipschitz in a neighborhood of x.

theorem ContDiffAt.exists_lipschitzOnWith E1 #

∀ {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E'] [inst_2 : NormedSpace 𝕂 E']
  {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {f : E' → F'} {x : E'},
  ContDiffAt 𝕂 1 f x → ∃ K, ∃ t ∈ nhds x, LipschitzOnWith K f t

If f is C^1 at x, then f is Lipschitz in a neighborhood of x.

theorem ContDiffOn.locallyLipschitzOn E1 #

∀ {E : Type u_4} {F : Type u_5} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] {f : E → F} {s : Set E}, Convex ℝ s → ContDiffOn ℝ 1 f s → LocallyLipschitzOn s f

If f is C¹ on a convex set s, it is locally Lipschitz on s.

theorem ContDiff.locallyLipschitz E1 #

∀ {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E'] [inst_2 : NormedSpace 𝕂 E']
  {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F'] {f : E' → F'},
  ContDiff 𝕂 1 f → LocallyLipschitz f

If f is C¹, it is locally Lipschitz.

theorem ContDiffOn.exists_lipschitzOnWith E1 #

∀ {E : Type u_4} {F : Type u_5} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] {s : Set E} {f : E → F} {n : WithTop ℕ∞},
  ContDiffOn ℝ n f s → n ≠ 0 → Convex ℝ s → IsCompact s → ∃ K, LipschitzOnWith K f s

If f is C¹ on a convex compact set s, it is Lipschitz on s.

theorem ContDiff.lipschitzWith_of_hasCompactSupport E1 #

∀ {n : WithTop ℕ∞} {𝕂 : Type u_1} [inst : RCLike 𝕂] {E' : Type u_2} [inst_1 : NormedAddCommGroup E']
  [inst_2 : NormedSpace 𝕂 E'] {F' : Type u_3} [inst_3 : NormedAddCommGroup F'] [inst_4 : NormedSpace 𝕂 F']
  {f : E' → F'}, HasCompactSupport f → ContDiff 𝕂 n f → n ≠ 0 → ∃ C, LipschitzWith C f

A C^n function with compact support is Lipschitz.

Deprecated aliases

NameNew nameSince
ContDiffAt.exists_lipschitzOnWith_of_nnnorm_ltContDiffAt.exists_lipschitzOnWith_of_nnNorm_lt2026-10-31
ContDiffAt.hasStrictDerivAt'ContDiffAt.hasStrictDerivAt2026-10-13
ContDiffAt.hasStrictFDerivAt'ContDiffAt.hasStrictFDerivAt2026-10-13
HasFTaylorSeriesUpToOn.exists_lipschitzOnWith_of_nnnorm_ltHasFTaylorSeriesUpToOn.exists_lipschitzOnWith_of_nnNorm_lt2026-10-31