Skip to content

Commit fbe4c9e

Browse files
committed
address comments
1 parent a1022d7 commit fbe4c9e

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

Mathlib/MeasureTheory/Measure/Haar/InnerProductSpace.lean

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ variable [FiniteDimensional ℝ U]
187187
variable [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MeasurableSpace V] [BorelSpace V]
188188
variable [FiniteDimensional ℝ V]
189189

190-
-- Decompose `WithLp 2 (U × V) ≃ᵐ U × V` into a series of known measure-preserving equivalences
191-
private noncomputable def aux :
190+
/-- Decompose `WithLp 2 (U × V) ≃ᵐ U × V` into a series of known measure-preserving equivalences -/
191+
private noncomputable def volumePreservingSymmMeasurableEquivToLpProdAux :
192192
WithLp 2 (U × V) ≃ᵐ U × V :=
193193
( -- WithLp 2 (U × V) ≃ₗᵢ[] WithLp 2 (WithLp 2 (Fin .. → ℝ) × WithLp 2 (Fin .. → ℝ)
194194
(LinearIsometryEquiv.withLpProdCongr 2
@@ -209,11 +209,11 @@ private noncomputable def aux :
209209
/-- The measure equivalence between `WithLp 2 (U × V)` and `U × V` is volume preserving. -/
210210
theorem EuclideanSpace.volume_preserving_symm_measurableEquiv_toLp_prod :
211211
MeasurePreserving (MeasurableEquiv.toLp 2 (U × V)).symm := by
212-
suffices MeasurePreserving (aux U V) by
212+
suffices MeasurePreserving (volumePreservingSymmMeasurableEquivToLpProdAux U V) by
213213
convert this
214214
ext uv
215-
<;> simp [aux, MeasurableEquiv.coe_sumPiEquivProdPi, LinearEquiv.prodCongr_symm,
216-
MeasurableEquiv.prodCongr]
215+
<;> simp [volumePreservingSymmMeasurableEquivToLpProdAux, MeasurableEquiv.coe_sumPiEquivProdPi,
216+
LinearEquiv.prodCongr_symm, MeasurableEquiv.prodCongr]
217217
refine (LinearIsometryEquiv.measurePreserving _).trans ?_
218218
refine (volume_preserving_symm_measurableEquiv_toLp _).trans ?_
219219
refine (measurePreserving_sumPiEquivProdPi _).trans ?_
@@ -224,14 +224,12 @@ theorem EuclideanSpace.volume_preserving_symm_measurableEquiv_toLp_prod :
224224

225225
/-- A copy of `EuclideanSpace.volume_preserving_symm_measurableEquiv_toLp_prod`
226226
for the canonical spelling of the equivalence. -/
227-
theorem Prod.volume_preserving_ofLp :
228-
MeasurePreserving (WithLp.ofLp : WithLp 2 (U × V) → U × V) :=
227+
theorem Prod.volume_preserving_ofLp : MeasurePreserving (@ofLp 2 (U × V)) :=
229228
EuclideanSpace.volume_preserving_symm_measurableEquiv_toLp_prod U V
230229

231230
/-- The reverse direction of `Prod.volume_preserving_ofLp`, since
232231
`MeasurePreserving.symm` only works for `MeasurableEquiv`s. -/
233-
theorem Prod.volume_preserving_toLp :
234-
MeasurePreserving (WithLp.toLp 2 : U × V → WithLp 2 (U × V)) :=
232+
theorem Prod.volume_preserving_toLp : MeasurePreserving (@toLp 2 (U × V)) :=
235233
(EuclideanSpace.volume_preserving_symm_measurableEquiv_toLp_prod U V).symm
236234

237235
end Prod

0 commit comments

Comments
 (0)