-
Notifications
You must be signed in to change notification settings - Fork 987
[Merged by Bors] - feat(LinearAlgebra/QuadraticForm/TensorProduct): base change of quadratic forms #6636
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
Conversation
|
I also tried to prove: theorem _root_.BilinForm.toQuadraticForm_tmul (B₁ : BilinForm A M₁) (B₂ : BilinForm R M₂) :
(B₁.tmul B₂).toQuadraticForm
= B₁.toQuadraticForm.tmul B₂.toQuadraticForm := by
letI : Invertible (2 : A) := (Invertible.map (algebraMap R A) 2).copy 2 (map_ofNat _ _).symm
rw [QuadraticForm.tmul, tensorDistrib, BilinForm.tmul]
dsimp
refine (associated_rightInverse R).injective ?_
refine BilinForm.toLin.injective ?_
ext a₁ a₂ b₁ b₂
dsimp [-associated_apply]
simp [sub_smul, smul_sub, add_smul, smul_add, ←smul_mul_smul]
set aa₁ := B₁ a₁ a₁
set ab₁ := B₁ a₁ b₁
set ba₁ := B₁ b₁ a₁
set bb₁ := B₁ b₁ b₁
set aa₂ := B₂ a₂ a₂
set ab₂ := B₂ a₂ b₂
set ba₂ := B₂ b₂ a₂
set bb₂ := B₂ b₂ b₂
sorrythough the algebra is too painful to get to a point where it's obvious whether it's true. |
|
This PR/issue depends on: |
Co-authored-by: Alex J Best <alex.j.best@gmail.com>
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by alexjbest. |
ocfnash
left a comment
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.
Thanks!
bors d+
|
✌️ eric-wieser can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors merge |
|
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. |
Uh oh!
There was an error while loading. Please reload this page.