[Merged by Bors] - feat: remove the diamond for Complex.measureSpace#6832
[Merged by Bors] - feat: remove the diamond for Complex.measureSpace#6832
Conversation
eric-wieser
left a comment
There was a problem hiding this comment.
LGTM
My only question is whether this is considered a "heavy" import, and if it should go in a new Haar.Complex file instead. I'll let another maintainer decide
maintainer merge.
|
🚀 Pull request has been placed on the maintainer queue by eric-wieser. |
|
There is a problem with this file, that we have a diamond: complex numbers already have a measure space instance before the start of the file (you can try |
Indeed, this is discussed here |
|
I see, so the plan is to remove the instance at the start of the file (then the Haar measure instance is synthesised automatically) and just come up with a new proof of |
We prove some lemmas that will be useful in following PRs #6832 and #7037, mainly: ```lean theorem Basis.addHaar_eq {b : Basis ι ℝ E} {b' : Basis ι' ℝ E} : b.addHaar = b'.addHaar ↔ b.addHaar b'.parallelepiped = 1 theorem Basis.parallelepiped_eq_map (b : Basis ι ℝ E) : b.parallelepiped = (TopologicalSpace.PositiveCompacts.piIcc01 ι).map b.equivFun.symm b.equivFunL.symm.continuous theorem Basis.addHaar_map (b : Basis ι ℝ E) (f : E ≃L[ℝ] F) : map f b.addHaar = (b.map f.toLinearEquiv).addHaar ``` Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
We prove some lemmas that will be useful in following PRs #6832 and #7037, mainly: ```lean theorem Basis.addHaar_eq {b : Basis ι ℝ E} {b' : Basis ι' ℝ E} : b.addHaar = b'.addHaar ↔ b.addHaar b'.parallelepiped = 1 theorem Basis.parallelepiped_eq_map (b : Basis ι ℝ E) : b.parallelepiped = (TopologicalSpace.PositiveCompacts.piIcc01 ι).map b.equivFun.symm b.equivFunL.symm.continuous theorem Basis.addHaar_map (b : Basis ι ℝ E) (f : E ≃L[ℝ] F) : map f b.addHaar = (b.map f.toLinearEquiv).addHaar ``` Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
This PR/issue depends on:
|
|
Thanks! 🎉 |
We remove the instance ```lean instance measureSpace : MeasureSpace ℂ := ⟨Measure.map basisOneI.equivFun.symm volume⟩ ``` in `MeasureTheory.Measure.Lebesgue.Complex` since `ℂ` has already a `measureSpace` instance coming from its `InnerProductSpace` structure over `ℝ`, and fix the proof of `volume_preserving_equiv_pi`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
We prove some lemmas that will be useful in following PRs #6832 and #7037, mainly: ```lean theorem Basis.addHaar_eq {b : Basis ι ℝ E} {b' : Basis ι' ℝ E} : b.addHaar = b'.addHaar ↔ b.addHaar b'.parallelepiped = 1 theorem Basis.parallelepiped_eq_map (b : Basis ι ℝ E) : b.parallelepiped = (TopologicalSpace.PositiveCompacts.piIcc01 ι).map b.equivFun.symm b.equivFunL.symm.continuous theorem Basis.addHaar_map (b : Basis ι ℝ E) (f : E ≃L[ℝ] F) : map f b.addHaar = (b.map f.toLinearEquiv).addHaar ``` Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
We remove the instance ```lean instance measureSpace : MeasureSpace ℂ := ⟨Measure.map basisOneI.equivFun.symm volume⟩ ``` in `MeasureTheory.Measure.Lebesgue.Complex` since `ℂ` has already a `measureSpace` instance coming from its `InnerProductSpace` structure over `ℝ`, and fix the proof of `volume_preserving_equiv_pi`. Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
We remove the instance
in
MeasureTheory.Measure.Lebesgue.Complexsinceℂhas already ameasureSpaceinstance coming from itsInnerProductSpacestructure overℝ, and fix the proof ofvolume_preserving_equiv_pi.Co-authored-by: Eric Wieser wieser.eric@gmail.com