Measures positive on nonempty opens #
In this file we define a typeclass for measures that are positive on nonempty opens, see
MeasureTheory.Measure.IsOpenPosMeasure
. Examples include (additive) Haar measures, as well as
measures that have positive density with respect to a Haar measure. We also prove some basic facts
about these measures.
A measure is said to be IsOpenPosMeasure
if it is positive on nonempty open sets.
- open_pos : ∀ (U : Set X), IsOpen U → Set.Nonempty U → ↑↑μ U ≠ 0
Instances
An open null set w.r.t. an IsOpenPosMeasure
is empty.
A null set has empty interior.
If two functions are a.e. equal on an open set and are continuous on this set, then they are equal on this set.
If two continuous functions are a.e. equal, then they are equal.
See also Metric.measure_closedBall_pos_iff
.
Meagre sets and measure zero #
In general, neither of meagre and measure zero implies the other.
-
The set of Liouville numbers is a Lebesgue measure zero subset of ℝ, but is not meagre. (In fact, its complement is meagre. See
Real.disjoint_residual_ae
.) -
The complement of the set of Liouville numbers in $[0,1]$ is meagre and has measure 1. For another counterexample, for all $α ∈ (0,1)$, there is a generalised Cantor set $C ⊆ [0,1]$ of measure
α
. Cantor sets are nowhere dense (hence meagre). Taking a countable union of fat Cantor sets whose measure approaches 1 even yields a meagre set of measure 1.
However, with respect to a measure which is positive on non-empty open sets, closed measure zero sets are nowhere dense and σ-compact measure zero sets in a Hausdorff space are meagre.
A closed measure zero subset is nowhere dense. (Closedness is required: for instance, the rational numbers are countable (thus have measure zero), but are dense (hence not nowhere dense).
A σ-compact measure zero subset is meagre. (More generally, every Fσ set of measure zero is meagre.)