Skip to content

Commit 41781a7

Browse files
committed
Golf
1 parent 002a665 commit 41781a7

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Mathlib/MeasureTheory/Measure/Restrict.lean

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -701,19 +701,16 @@ lemma one_le_div_ae {β : Type*} [Group β] [LE β] [MulRightMono β] (f g : α
701701
theorem le_ae_restrict : ae μ ⊓ 𝓟 s ≤ ae (μ.restrict s) := fun _s hs =>
702702
eventually_inf_principal.2 (ae_imp_of_ae_restrict hs)
703703

704-
@[simp]
705-
theorem ae_restrict_eq (hs : MeasurableSet s) : ae (μ.restrict s) = ae μ ⊓ 𝓟 s := by
706-
ext t
707-
simp only [mem_inf_principal, mem_ae_iff, restrict_apply_eq_zero' hs.nullMeasurableSet,
708-
compl_ofPred, Classical.not_imp, fun a => and_comm (a := a ∈ s) (b := a ∉ t)]
709-
rfl
710-
711704
theorem ae_restrict_eq₀ (hs : NullMeasurableSet s μ) : ae (μ.restrict s) = ae μ ⊓ 𝓟 s := by
712705
ext t
713706
simp only [mem_inf_principal, mem_ae_iff, restrict_apply_eq_zero' hs, compl_ofPred,
714707
Classical.not_imp, fun a => and_comm (a := a ∈ s) (b := a ∉ t)]
715708
rfl
716709

710+
@[simp]
711+
theorem ae_restrict_eq (hs : MeasurableSet s) : ae (μ.restrict s) = ae μ ⊓ 𝓟 s :=
712+
ae_restrict_eq₀ hs.nullMeasurableSet
713+
717714
theorem ae_restrict_eq_bot {s} : ae (μ.restrict s) = ⊥ ↔ μ s = 0 :=
718715
ae_eq_bot.trans restrict_eq_zero
719716

0 commit comments

Comments
 (0)