Lebesgue's density theorem
ProvedFamousTheorems.ae_tendsto_measure_inter_divThe Lebesgue density theorem. For a measurable set , almost every point of is a density point:
Measurable sets look almost everywhere like they have full density at their own points — there is no measurable set of intermediate density everywhere, which is why a set cannot occupy a fixed fraction of every small ball. The result is a consequence of the Besicovitch covering theorem and is the measure-theoretic analogue of the Lebesgue differentiation theorem for the indicator function of . It is the standard tool for reducing statements about measurable sets to statements near a density point. Formalization note. The limit is over the Besicovitch filter of shrinking balls, and holds almost everywhere on S. The result is Mathlib's Besicovitch.ae_tendsto_measure_inter_div.
import Mathlib
namespace FamousTheorems
universe u_1 u_2 u_3 u_4 u_5 u_6 u_7 u_8 u_9 u_10 u_11 u_12 u_13 u_14 u_15 u_16 u_17 u_18 u_19 u_20 u_21 u_22 u_23 u_24 u_25
open Filter Set Topology DirectSum
theorem ae_tendsto_measure_inter_div :
∀ {β : Type u_1} [inst : MetricSpace β] [inst_1 : MeasurableSpace β]
[BorelSpace β] [SecondCountableTopology β] [HasBesicovitchCovering β] (μ : MeasureTheory.Measure β)
[MeasureTheory.IsLocallyFiniteMeasure μ] (s : Set β),
∀ᵐ (x : β) ∂μ.restrict s, Tendsto (fun r => μ (s ∩ Metric.closedBall x r) / μ (Metric.closedBall x r)) (𝓝[>] 0) (𝓝 1) := by sorry
end FamousTheorems