-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat: remove the diamond for Complex.measureSpace #6832
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
We remove the instance
in
MeasureTheory.Measure.Lebesgue.Complex
sinceℂ
has already ameasureSpace
instance coming from itsInnerProductSpace
structure overℝ
, and fix the proof ofvolume_preserving_equiv_pi
.Co-authored-by: Eric Wieser [email protected]