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 / V15. Real analysis in one variable

Mathlib.Analysis.Calculus.Monotone

6 declarations. Mathlib docs · Source

theorem tendsto_apply_add_mul_sq_div_sub E2 #

∀ {f : ℝ → ℝ} {x a c d : ℝ} {l : Filter ℝ},
  l ≤ nhdsWithin x {x}ᶜ →
    Filter.Tendsto (fun y ↦ (f y - d) / (y - x)) l (nhds a) →
      Filter.Tendsto (fun y ↦ y + c * (y - x) ^ 2) l l →
        Filter.Tendsto (fun y ↦ (f (y + c * (y - x) ^ 2) - d) / (y - x)) l (nhds a)

If (f y - f x) / (y - x) converges to a limit as y tends to x, then the same goes if y is shifted a little bit, i.e., f (y + (y-x)^2) - f x) / (y - x) converges to the same limit. This lemma contains a slightly more general version of this statement (where one considers convergence along some subfilter, typically 𝓝[<] x or 𝓝[>] x) tailored to the application to almost everywhere differentiability of monotone functions.

theorem StieltjesFunction.ae_hasDerivAt E1 #

∀ (f : StieltjesFunction ℝ), ∀ᵐ (x : ℝ), HasDerivAt (↑f) (f.measure.rnDeriv MeasureTheory.volume x).toReal x

A Stieltjes function is almost everywhere differentiable, with derivative equal to the Radon-Nikodym derivative of the associated Stieltjes measure with respect to Lebesgue.

theorem Monotone.ae_hasDerivAt E1 #

∀ {f : ℝ → ℝ} (hf : Monotone f),
  ∀ᵐ (x : ℝ), HasDerivAt f (hf.stieltjesFunction.measure.rnDeriv MeasureTheory.volume x).toReal x

A monotone function is almost everywhere differentiable, with derivative equal to the Radon-Nikodym derivative of the associated Stieltjes measure with respect to Lebesgue.

theorem Monotone.ae_differentiableAt E1 #

∀ {f : ℝ → ℝ}, Monotone f → ∀ᵐ (x : ℝ), DifferentiableAt ℝ f x

A monotone real function is differentiable Lebesgue-almost everywhere.

theorem MonotoneOn.ae_differentiableWithinAt_of_mem E1 #

∀ {f : ℝ → ℝ} {s : Set ℝ}, MonotoneOn f s → ∀ᵐ (x : ℝ), x ∈ s → DifferentiableWithinAt ℝ f s x

A real function which is monotone on a set is differentiable Lebesgue-almost everywhere on this set. This version does not assume that s is measurable. For a formulation with volume.restrict s assuming that s is measurable, see MonotoneOn.ae_differentiableWithinAt.

theorem MonotoneOn.ae_differentiableWithinAt E1 #

∀ {f : ℝ → ℝ} {s : Set ℝ},
  MonotoneOn f s → MeasurableSet s → ∀ᵐ (x : ℝ) ∂MeasureTheory.volume.restrict s, DifferentiableWithinAt ℝ f s x

A real function which is monotone on a set is differentiable Lebesgue-almost everywhere on this set. This version assumes that s is measurable and uses volume.restrict s. For a formulation without measurability assumption, see MonotoneOn.ae_differentiableWithinAt_of_mem.