Mathlib Phrasebook

11.3. Connection to Lebesgue and Haar🔗

In Mathlib, the real numbers carry the Lebesgue measure as their canonical measure. It is called (volume : Measure ). Mathlib knows that this coincides with the 1-dimensional Hausdorff measure and we can witness this as follows:

example : μH[1] = (volume : Measure ) := hausdorffMeasure_real

More generally, Mathlib knows that the Hausdorff measure may be a Haar measure. For example if E is a finite-dimensional normed real vector space then Mathlib knows that the top-dimensional Hausdorff measure is a Haar measure:

open Module in example {E : Type*} [NormedAddCommGroup E] [NormedSpace E] [FiniteDimensional E] [MeasurableSpace E] [BorelSpace E] : IsAddHaarMeasure (G := E) μH[finrank E] := inferInstance