Documentation

CslibFrontier.Foundations.MeasureTheory.Integral.IntervalPrimitive

Integrating and differentiating a primitive #

This file proves three facts about the primitive v ↦ ∫ z in 0..v, g z.

Main results #

theorem MeasureTheory.measurable_intervalIntegral {α : Type u_1} [MeasurableSpace α] {G : α → ℝ → ℝ} (hG : Measurable (Function.uncurry G)) {c d : α → ℝ} (hc : Measurable c) (hd : Measurable d) :
Measurable fun (a : α) => ∫ (z : ℝ) in c a..d a, G a z

A parametric interval integral a ↦ ∫ z in c a..d a, G a z is measurable when G is jointly measurable and the endpoints are measurable.

theorem MeasureTheory.integral_intervalIntegral_eq_integral_measureReal_Ici_mul {μ : Measure ℝ} [IsFiniteMeasure μ] {h : ℝ} (hμ : ∀ᵐ (v : ℝ) ∂μ, v ∈ Set.Icc 0 h) {g : ℝ → ℝ} (hgm : Measurable g) (hg : IntegrableOn g (Set.Ioc 0 h) volume) :
∫ (v : ℝ), ∫ (z : ℝ) in 0..v, g z ∂μ = ∫ (z : ℝ) in Set.Ioc 0 h, μ.real (Set.Ici z) * g z

Tail formula for a primitive. If the finite measure μ is concentrated on [0, h] and g is measurable and integrable on (0, h], then ∫ v, (∫ z in 0..v, g z) ∂μ = ∫ z in (0, h], μ([z, ∞)) · g z. The proof swaps the order of integration over the triangle 0 < z ≤ v.

theorem MeasureTheory.hasDerivWithinAt_integral_Ici_of_continuousOn {u : ℝ → ℝ} {x : ℝ} (hu : ContinuousOn u (Set.Ici 0)) (hx : 0 ≤ x) :
HasDerivWithinAt (fun (t : ℝ) => ∫ (z : ℝ) in 0..t, u z) (u x) (Set.Ici 0) x

Fundamental theorem of calculus on [0, ∞) for a function continuous on [0, ∞): the primitive t ↦ ∫ z in 0..t, u z has derivative u x within [0, ∞) at every x ≥ 0.