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.FDeriv.Extend

5 declarations. Mathlib docs · Source

theorem hasFDerivWithinAt_closure_of_tendsto_fderiv E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {F : Type u_2} [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace ℝ F] {f : E → F} {s : Set E} {x : E} {f' : E →L[ℝ] F},
  DifferentiableOn ℝ f s →
    Convex ℝ s →
      IsOpen s →
        (∀ y ∈ closure s, ContinuousWithinAt f s y) →
          Filter.Tendsto (fun y ↦ fderiv ℝ f y) (nhdsWithin x s) (nhds f') → HasFDerivWithinAt f f' (closure s) x

If a function f is differentiable in a convex open set and continuous on its closure, and its derivative converges to a limit f' at a point on the boundary, then f is differentiable there with derivative f'.

theorem hasDerivWithinAt_Ici_of_tendsto_deriv E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {s : Set ℝ} {e : E} {a : ℝ} {f : ℝ → E},
  DifferentiableOn ℝ f s →
    ContinuousWithinAt f s a →
      s ∈ nhdsWithin a (Set.Ioi a) →
        Filter.Tendsto (fun x ↦ deriv f x) (nhdsWithin a (Set.Ioi a)) (nhds e) → HasDerivWithinAt f e (Set.Ici a) a

If a function is differentiable on the right of a point a : ℝ, continuous at a, and its derivative also converges at a, then f is differentiable on the right at a.

theorem hasDerivWithinAt_Iic_of_tendsto_deriv E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {s : Set ℝ} {e : E} {a : ℝ} {f : ℝ → E},
  DifferentiableOn ℝ f s →
    ContinuousWithinAt f s a →
      s ∈ nhdsWithin a (Set.Iio a) →
        Filter.Tendsto (fun x ↦ deriv f x) (nhdsWithin a (Set.Iio a)) (nhds e) → HasDerivWithinAt f e (Set.Iic a) a

If a function is differentiable on the left of a point a : ℝ, continuous at a, and its derivative also converges at a, then f is differentiable on the left at a.

theorem hasDerivAt_of_hasDerivAt_of_ne E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f g : ℝ → E} {x : ℝ},
  (∀ (y : ℝ), y ≠ x → HasDerivAt f (g y) y) → ContinuousAt f x → ContinuousAt g x → HasDerivAt f (g x) x

If a real function f has a derivative g everywhere but at a point, and f and g are continuous at this point, then g is also the derivative of f at this point.

theorem hasDerivAt_of_hasDerivAt_of_ne' E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {f g : ℝ → E} {x : ℝ},
  (∀ (y : ℝ), y ≠ x → HasDerivAt f (g y) y) → ContinuousAt f x → ContinuousAt g x → ∀ (y : ℝ), HasDerivAt f (g y) y

If a real function f has a derivative g everywhere but at a point, and f and g are continuous at this point, then g is the derivative of f everywhere.