File size: 599 Bytes
bf6216d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | module
public import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
public section
open Set
namespace MeasureTheory
variable {Ω : Type*} [Countable Ω] [MeasurableSpace Ω] {μ : Measure Ω} {s : Set Ω}
attribute [simp] Measurable.aemeasurable
lemma measure_eq_univ_of_forall_singleton (hμ : ∀ x ∈ sᶜ, μ {x} = 0) : μ s = μ .univ := by
apply le_antisymm (measure_mono (subset_univ _))
rw [← Set.union_compl_self s]
apply (measure_union_le _ _).trans
have : μ sᶜ = 0 := (measure_null_iff_singleton (Set.to_countable _)).2 fun i ↦ hμ _
simp [this]
end MeasureTheory
|