Skip to content

Commit 24a0d31

Browse files
committed
chore(MeasureTheory/Measure/Haar/Quotient): remove erws (leanprover-community#38773)
- rewrites the two quotient-measure lemmas to use `rw` directly on `projection_respects_measure_apply` Extracted from leanprover-community#38415 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
1 parent bad3e24 commit 24a0d31

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Mathlib/MeasureTheory/Measure/Haar/Quotient.lean

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ lemma MeasureTheory.QuotientMeasureEqMeasurePreimage.smulInvariantMeasure_quotie
9494
have meas_π : Measurable π := continuous_quotient_mk'.measurable
9595
obtain ⟨𝓕, h𝓕⟩ := hasFun.ExistsIsFundamentalDomain
9696
have h𝓕_translate_fundom : IsFundamentalDomain Γ.op (g • 𝓕) ν := h𝓕.smul_of_comm g
97-
-- TODO: why `rw` fails with both of these rewrites?
98-
erw [h𝓕.projection_respects_measure_apply (μ := μ)
97+
rw [h𝓕.projection_respects_measure_apply (μ := μ)
9998
(meas_π (measurableSet_preimage (measurable_const_smul g) hA)),
10099
h𝓕_translate_fundom.projection_respects_measure_apply (μ := μ) hA]
101100
change ν ((π ⁻¹' _) ∩ _) = ν ((π ⁻¹' _) ∩ _)
@@ -233,8 +232,7 @@ theorem MeasureTheory.QuotientMeasureEqMeasurePreimage.haarMeasure_quotient [Loc
233232
ne_top_of_lt <| QuotientMeasureEqMeasurePreimage.covolume_ne_top μ (ν := ν)
234233
obtain ⟨s, fund_dom_s⟩ := i
235234
rw [fund_dom_s.covolume_eq_volume] at finiteCovol
236-
-- TODO: why `rw` fails?
237-
erw [fund_dom_s.projection_respects_measure_apply μ K'.isCompact.measurableSet]
235+
rw [fund_dom_s.projection_respects_measure_apply μ K'.isCompact.measurableSet]
238236
apply IsHaarMeasure.smul
239237
· intro h
240238
have i' : IsOpenPosMeasure (ν : Measure G) := inferInstance

0 commit comments

Comments
 (0)