The Besicovitch covering theorem
ProvedFamousTheorems.besicovitch_coveringThe Besicovitch covering theorem (almost-everywhere form). Let be a second-countable metric space with the Besicovitch covering property (e.g. with any norm), and an s-finite Borel measure. Let , and for each let be a set of admissible radii containing arbitrarily small positive values, and . Then there are a countable and radii such that the closed balls , , are pairwise disjoint and cover -almost all of .
Unlike Vitali's lemma, no doubling condition on is needed: the geometry of the space alone makes the covering work for every locally finite measure. It is the basis of differentiation of arbitrary Radon measures on and of density theorems in geometric measure theory.
Formalization note. Mathlib's Besicovitch.exists_disjoint_closedBall_covering_ae; HasBesicovitchCovering α asserts the existence of a Besicovitch constant for the space (an instance is provided for finite-dimensional real normed spaces).
import Mathlib
namespace FamousTheorems
theorem besicovitch_covering {α : Type*} [MetricSpace α] [SecondCountableTopology α] [MeasurableSpace α]
[OpensMeasurableSpace α] [HasBesicovitchCovering α] (μ : MeasureTheory.Measure α) [MeasureTheory.SFinite μ]
(f : α → Set ℝ) (s : Set α) (hf : ∀ x ∈ s, ∀ δ > 0, (f x ∩ Set.Ioo 0 δ).Nonempty) (R : α → ℝ)
(hR : ∀ x ∈ s, 0 < R x) :
∃ (t : Set α) (r : α → ℝ), t.Countable ∧ t ⊆ s ∧ (∀ x ∈ t, r x ∈ f x ∩ Set.Ioo 0 (R x)) ∧
μ (s \ ⋃ x ∈ t, Metric.closedBall x (r x)) = 0 ∧ t.PairwiseDisjoint fun x => Metric.closedBall x (r x) := by sorry
end FamousTheorems