Documentation

TauCeti.MeasureTheory.Integral.IntervalIntegral.AbsolutelyContinuousFun

Calculus along absolutely continuous curves #

Mathlib's AbsolutelyContinuousOnInterval.integral_deriv_eq_sub is the fundamental theorem of calculus for an absolutely continuous real function. This file composes it with a C¹ function: if γ : ℝ → F is an absolutely continuous curve in a normed space with derivative V t at almost every time and φ : F → ℝ is C¹, then ∫_a^b φ'(γ t) (V t) dt = φ (γ b) - φ (γ a). In finite dimension, it also extends Mathlib's real-valued derivative integrability and fundamental-theorem results to curves.

Main results #

theorem AbsolutelyContinuousOnInterval.integral_fderiv_apply_eq_sub {F : Type u_1} [NormedAddCommGroup F] [NormedSpace ℝ F] {γ V : ℝ → F} {a b : ℝ} (hγ : AbsolutelyContinuousOnInterval γ a b) (hV : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a b → HasDerivAt γ (V t) t) {φ : F → ℝ} (hφ : ContDiff ℝ 1 φ) :
∫ (t : ℝ) in a..b, (fderiv ℝ φ (γ t)) (V t) = φ (γ b) - φ (γ a)

Fundamental theorem of calculus along an absolutely continuous curve: if γ is absolutely continuous on uIcc a b with derivative V t at almost every t ∈ uIoc a b and φ is C¹, then ∫ t in a..b, fderiv ℝ φ (γ t) (V t) = φ (γ b) - φ (γ a). The composition φ ∘ γ is absolutely continuous because φ is Lipschitz on the compact image γ '' uIcc a b.

The almost-everywhere derivative V of a curve γ which is absolutely continuous on uIcc a b in a finite-dimensional real normed space is interval integrable on a..b. This reduces to Mathlib's real-valued AbsolutelyContinuousOnInterval.intervalIntegrable_deriv in the coordinates of a basis.

The derivative of an absolutely continuous curve in a finite-dimensional real normed space is interval integrable.

theorem AbsolutelyContinuousOnInterval.integral_eq_sub_of_ae_hasDerivAt {F : Type u_1} [NormedAddCommGroup F] [NormedSpace ℝ F] {γ V : ℝ → F} {a b : ℝ} [FiniteDimensional ℝ F] (hγ : AbsolutelyContinuousOnInterval γ a b) (hV : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a b → HasDerivAt γ (V t) t) :
∫ (t : ℝ) in a..b, V t = γ b - γ a

The fundamental theorem of calculus for the almost-everywhere derivative of an absolutely continuous curve in a finite-dimensional real normed space.

The fundamental theorem of calculus for an absolutely continuous curve in a finite-dimensional real normed space.

theorem AbsolutelyContinuousOnInterval.norm_sub_le_integral_norm_deriv_sub {F : Type u_1} [NormedAddCommGroup F] [NormedSpace ℝ F] {γ : ℝ → F} {a b : ℝ} [FiniteDimensional ℝ F] {p : ℝ → F} (hp : AbsolutelyContinuousOnInterval p a b) (hγ : AbsolutelyContinuousOnInterval γ a b) (ha : p a = γ a) {t : ℝ} (ht : t ∈ Set.Icc a b) :
‖p t - γ t‖ ≤ ∫ (v : ℝ) in a..b, ‖deriv p v - deriv γ v‖

For two absolutely continuous curves with the same left endpoint, their pointwise distance is bounded by the L¹ difference of their velocities over the whole interval.

An AC curve is almost everywhere measurable on the ordered half-open parameter interval.

The derivative of a finite-dimensional AC curve is integrable on the ordered half-open parameter interval.

theorem AbsolutelyContinuousOnInterval.integral_mul_deriv_eq_deriv_mul_of_ae_hasDerivAt {A : Type u_1} [NormedRing A] [NormedAlgebra ℝ A] [FiniteDimensional ℝ A] {f f' g g' : ℝ → A} {a b : ℝ} (hf : AbsolutelyContinuousOnInterval f a b) (hg : AbsolutelyContinuousOnInterval g a b) (hff' : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a b → HasDerivAt f (f' t) t) (hgg' : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a b → HasDerivAt g (g' t) t) :
∫ (t : ℝ) in a..b, f t * g' t = f b * g b - f a * g a - ∫ (t : ℝ) in a..b, f' t * g t

Integration by parts for absolutely continuous functions valued in a finite-dimensional real normed ring. The derivatives may be supplied only almost everywhere.

theorem AbsolutelyContinuousOnInterval.intervalIntegrable_div_of_ae_hasDerivAt {f V : ℝ → ℝ} {a b : ℝ} (hf : AbsolutelyContinuousOnInterval f a b) (h0 : ∀ t ∈ Set.uIcc a b, f t ≠ 0) (hV : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a b → HasDerivAt f (V t) t) :
IntervalIntegrable (fun (t : ℝ) => V t / f t) MeasureTheory.volume a b

The logarithmic derivative V / f of an absolutely continuous real function f that does not vanish on the interval is interval integrable, where V is the derivative of f at almost every point.

theorem AbsolutelyContinuousOnInterval.integral_div_eq_log_sub_log {f V : ℝ → ℝ} {a b : ℝ} (hf : AbsolutelyContinuousOnInterval f a b) (h0 : ∀ t ∈ Set.uIcc a b, f t ≠ 0) (hV : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a b → HasDerivAt f (V t) t) :
∫ (t : ℝ) in a..b, V t / f t = Real.log (f b) - Real.log (f a)

The fundamental theorem of calculus for the logarithmic derivative: if f is absolutely continuous and nonvanishing on the interval, with derivative V at almost every point, then ∫ t in a..b, V t / f t = log (f b) - log (f a).

theorem TauCeti.Probability.survival_eq_exp_integral_hazard {f : ℝ → ℝ} {a x : ℝ} {S : ℝ → ℝ} (hS : AbsolutelyContinuousOnInterval S a x) (hpos : ∀ t ∈ Set.uIcc a x, 0 < S t) (hderiv : ∀ᵐ (t : ℝ), t ∈ Set.uIoc a x → HasDerivAt S (-f t) t) :
IntervalIntegrable (fun (t : ℝ) => f t / S t) MeasureTheory.volume a x ∧ S x = S a * Real.exp (-∫ (t : ℝ) in a..x, f t / S t)

Survival reconstruction from the hazard rate. If S is absolutely continuous on the interval between a and x, is positive there, and has derivative -f almost everywhere, then the hazard rate f / S is interval integrable and S x = S a * exp (-∫ t in a..x, f t / S t).

An indefinite interval integral in a real normed space is absolutely continuous on its integrability interval, provided its base point belongs to that interval.

A continuous curve with an integrable derivative outside a countable exceptional set is absolutely continuous on its parameter interval.