The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V18. Measure and integration

Mathlib.MeasureTheory.Measure.EverywherePos

21 declarations and 1 deprecated aliases. Mathlib docs · Source

Everywhere positive sets in measure spaces

A set s in a topological space with a measure μ is everywhere positive (also called self-supporting) if any neighborhood n of any point of s satisfies μ (s ∩ n) > 0.

Main definitions and results

  • μ.IsEverywherePos s registers that, for any point in s, all its neighborhoods have positive measure inside s.
  • μ.everywherePosSubset s is the subset of s made of those points all of whose neighborhoods have positive measure inside s.
  • everywherePosSubset_ae_eq shows that s and μ.everywherePosSubset s coincide almost everywhere if μ is inner regular and s is measurable.
  • isEverywherePos_everywherePosSubset shows that μ.everywherePosSubset s satisfies the property μ.IsEverywherePos if μ is inner regular and s is measurable.

The latter two statements have also versions when μ is inner regular for finite measure sets, assuming additionally that s has finite measure.

  • IsEverywherePos.IsGδ proves that an everywhere positive compact closed set is a Gδ set, in a topological group with a left-invariant measure. This is a nontrivial statement, used crucially in the study of the uniqueness of Haar measures.
  • innerRegularWRT_preimage_one_hasCompactSupport_measure_ne_top: for a Haar measure, any finite measure set can be approximated from inside by level sets of continuous compactly supported functions. This property is also known as completion-regularity of Haar measures.

def MeasureTheory.Measure.IsEverywherePos E1 #

{α : Type u_1} → [TopologicalSpace α] → [inst : MeasurableSpace α] → MeasureTheory.Measure α → Set α → Prop

A set s is everywhere positive (also called self-supporting) with respect to a measure μ if it has positive measure around each of its points, i.e., if all neighborhoods n of points of s satisfy μ (s ∩ n) > 0.

def MeasureTheory.Measure.everywherePosSubset E1 #

{α : Type u_1} → [TopologicalSpace α] → [inst : MeasurableSpace α] → MeasureTheory.Measure α → Set α → Set α

The everywhere positive subset of a set is the subset made of those points all of whose neighborhoods have positive measure inside the set.

theorem MeasureTheory.Measure.everywherePosSubset_subset E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] (μ : MeasureTheory.Measure α) (s : Set α),
  μ.everywherePosSubset s ⊆ s

theorem MeasureTheory.Measure.exists_isOpen_everywherePosSubset_eq_sdiff E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] (μ : MeasureTheory.Measure α) (s : Set α),
  ∃ u, IsOpen u ∧ μ.everywherePosSubset s = s \ u

The everywhere positive subset of a set is obtained by removing an open set.

theorem MeasurableSet.everywherePosSubset E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α}
  [OpensMeasurableSpace α], MeasurableSet s → MeasurableSet (μ.everywherePosSubset s)

theorem IsClosed.everywherePosSubset E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α},
  IsClosed s → IsClosed (μ.everywherePosSubset s)

theorem IsCompact.everywherePosSubset E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α},
  IsCompact s → IsCompact (μ.everywherePosSubset s)

theorem MeasureTheory.Measure.measure_eq_zero_of_subset_sdiff_everywherePosSubset E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s k : Set α},
  IsCompact k → k ⊆ s \ μ.everywherePosSubset s → μ k = 0

Any compact set contained in s \ μ.everywherePosSubset s has zero measure.

theorem MeasureTheory.Measure.everywherePosSubset_ae_eq E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α}
  [OpensMeasurableSpace α] [μ.InnerRegular], MeasurableSet s → μ.everywherePosSubset s =ᵐ[μ] s

In a space with an inner regular measure, any measurable set coincides almost everywhere with its everywhere positive subset.

theorem MeasureTheory.Measure.everywherePosSubset_ae_eq_of_measure_ne_top E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α}
  [OpensMeasurableSpace α] [μ.InnerRegularCompactLTTop], MeasurableSet s → μ s ≠ ⊤ → μ.everywherePosSubset s =ᵐ[μ] s

In a space with an inner regular measure for finite measure sets, any measurable set of finite measure coincides almost everywhere with its everywhere positive subset.

theorem MeasureTheory.Measure.isEverywherePos_everywherePosSubset E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α}
  [OpensMeasurableSpace α] [μ.InnerRegular], MeasurableSet s → μ.IsEverywherePos (μ.everywherePosSubset s)

In a space with an inner regular measure, the everywhere positive subset of a measurable set is itself everywhere positive. This is not obvious as μ.everywherePosSubset s is defined as the points whose neighborhoods intersect s along positive measure subsets, but this does not say they also intersect μ.everywherePosSubset s along positive measure subsets.

theorem MeasureTheory.Measure.isEverywherePos_everywherePosSubset_of_measure_ne_top E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α}
  [OpensMeasurableSpace α] [μ.InnerRegularCompactLTTop],
  MeasurableSet s → μ s ≠ ⊤ → μ.IsEverywherePos (μ.everywherePosSubset s)

In a space with an inner regular measure for finite measure sets, the everywhere positive subset of a measurable set of finite measure is itself everywhere positive. This is not obvious as μ.everywherePosSubset s is defined as the points whose neighborhoods intersect s along positive measure subsets, but this does not say they also intersect μ.everywherePosSubset s along positive measure subsets.

theorem MeasureTheory.Measure.IsEverywherePos.smul_measure E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α},
  μ.IsEverywherePos s → ∀ {c : ENNReal}, c ≠ 0 → (c • μ).IsEverywherePos s

theorem MeasureTheory.Measure.IsEverywherePos.smul_measure_nnreal E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α},
  μ.IsEverywherePos s → ∀ {c : NNReal}, c ≠ 0 → (c • μ).IsEverywherePos s

theorem MeasureTheory.Measure.IsEverywherePos.of_forall_exists_nhds_eq E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ ν : MeasureTheory.Measure α} {s : Set α},
  μ.IsEverywherePos s → (∀ x ∈ s, ∃ t ∈ nhds x, ∀ u ⊆ t, ν u = μ u) → ν.IsEverywherePos s

If two measures coincide locally, then a set which is everywhere positive for the former is also everywhere positive for the latter.

theorem MeasureTheory.Measure.isEverywherePos_iff_of_forall_exists_nhds_eq E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ ν : MeasureTheory.Measure α} {s : Set α},
  (∀ x ∈ s, ∃ t ∈ nhds x, ∀ u ⊆ t, ν u = μ u) → (ν.IsEverywherePos s ↔ μ.IsEverywherePos s)

If two measures coincide locally, then a set is everywhere positive for the former iff it is everywhere positive for the latter.

theorem IsOpen.isEverywherePos E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MeasurableSpace α] {μ : MeasureTheory.Measure α} {s : Set α}
  [μ.IsOpenPosMeasure], IsOpen s → μ.IsEverywherePos s

An open set is everywhere positive for a measure which is positive on open sets.

theorem MeasureTheory.Measure.IsEverywherePos.IsGdelta_of_isMulLeftInvariant E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G]
  [inst_4 : MeasurableSpace G] [BorelSpace G] {μ : MeasureTheory.Measure G} [μ.IsMulLeftInvariant]
  [MeasureTheory.IsFiniteMeasureOnCompacts μ] [μ.InnerRegularCompactLTTop] {k : Set G},
  μ.IsEverywherePos k → IsCompact k → IsClosed k → IsGδ k

If a compact closed set is everywhere positive with respect to a left-invariant measure on a topological group, then it is a Gδ set. This is nontrivial, as there is no second-countability or metrizability assumption in the statement, so a general compact closed set has no reason to be a countable intersection of open sets.

theorem MeasureTheory.Measure.IsEverywherePos.IsGdelta_of_isAddLeftInvariant E1 #

∀ {G : Type u_2} [inst : AddGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [LocallyCompactSpace G]
  [inst_4 : MeasurableSpace G] [BorelSpace G] {μ : MeasureTheory.Measure G} [μ.IsAddLeftInvariant]
  [MeasureTheory.IsFiniteMeasureOnCompacts μ] [μ.InnerRegularCompactLTTop] {k : Set G},
  μ.IsEverywherePos k → IsCompact k → IsClosed k → IsGδ k

If a compact closed set is everywhere positive with respect to a left-invariant measure on a topological additive group, then it is a Gδ set. This is nontrivial, as there is no second-countability or metrizability assumption in the statement, so a general compact closed set has no reason to be a countable intersection of open sets.

theorem MeasureTheory.Measure.innerRegularWRT_preimage_one_hasCompactSupport_measure_ne_top_of_group E1 #

∀ {G : Type u_2} [inst : Group G] [inst_1 : TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G]
  [inst_4 : MeasurableSpace G] [BorelSpace G] {μ : MeasureTheory.Measure G} [μ.IsMulLeftInvariant]
  [MeasureTheory.IsFiniteMeasureOnCompacts μ] [μ.InnerRegularCompactLTTop],
  μ.InnerRegularWRT (fun s ↦ ∃ f, Continuous f ∧ HasCompactSupport f ∧ s = f ⁻¹' {1}) fun s ↦ MeasurableSet s ∧ μ s ≠ ⊤

Halmos' theorem: Haar measure is completion regular. More precisely, any finite measure set can be approximated from inside by a level set of a continuous function with compact support.

theorem MeasureTheory.Measure.innerRegularWRT_preimage_one_hasCompactSupport_measure_ne_top_of_addGroup E1 #

∀ {G : Type u_2} [inst : AddGroup G] [inst_1 : TopologicalSpace G] [IsTopologicalAddGroup G] [LocallyCompactSpace G]
  [inst_4 : MeasurableSpace G] [BorelSpace G] {μ : MeasureTheory.Measure G} [μ.IsAddLeftInvariant]
  [MeasureTheory.IsFiniteMeasureOnCompacts μ] [μ.InnerRegularCompactLTTop],
  μ.InnerRegularWRT (fun s ↦ ∃ f, Continuous f ∧ HasCompactSupport f ∧ s = f ⁻¹' {1}) fun s ↦ MeasurableSet s ∧ μ s ≠ ⊤

Halmos' theorem: Haar measure is completion regular. More precisely, any finite measure set can be approximated from inside by a level set of a continuous function with compact support.

Deprecated aliases

NameNew nameSince
MeasureTheory.Measure.exists_isOpen_everywherePosSubset_eq_diffMeasureTheory.Measure.exists_isOpen_everywherePosSubset_eq_sdiff2026-06-03