Carathéodory's theorem (measure theory)
ProvedFamousTheorems.caratheodory_criterionCarathéodory's theorem (measure theory). Let be an outer measure on a set . A set is called -measurable if it splits every set additively: for all . The -measurable sets form a σ-algebra, and is countably additive on it:
This is the construction behind almost every measure in analysis: Lebesgue measure, Lebesgue–Stieltjes measures, Hausdorff measures, and the Carathéodory extension of a premeasure from an algebra of sets.
Formalization note. Mathlib's MeasureTheory.OuterMeasure.caratheodory is the σ-algebra of -measurable sets (a MeasurableSpace, so being a σ-algebra is built into its type). The statement combines MeasureTheory.OuterMeasure.isCaratheodory_iff (its sets are exactly the splitting sets) and MeasureTheory.OuterMeasure.iUnion_eq_of_caratheodory (countable additivity).
import Mathlib
namespace FamousTheorems
open scoped MeasureTheory
theorem caratheodory_criterion {α : Type*} (m : MeasureTheory.OuterMeasure α) :
(∀ s : Set α, MeasurableSet[m.caratheodory] s ↔ ∀ t, m t = m (t ∩ s) + m (t \ s)) ∧
∀ s : ℕ → Set α, (∀ i, MeasurableSet[m.caratheodory] (s i)) → Pairwise (Function.onFun Disjoint s) →
m (⋃ i, s i) = ∑' i, m (s i) := by sorry
end FamousTheorems