[Merged by Bors] - refactor(LinearAlgebra/QuadraticForm/Basic): Use bilinear maps for the companion#10097
Closed
[Merged by Bors] - refactor(LinearAlgebra/QuadraticForm/Basic): Use bilinear maps for the companion#10097
Conversation
Collaborator
Author
|
!bench |
Collaborator
|
Here are the benchmark results for commit 4a55b3a. Benchmark Metric Change
=========================================================================================
+ ~Mathlib.CategoryTheory.Limits.FilteredColimitCommutesFiniteLimit instructions -19.2%
- ~Mathlib.LinearAlgebra.QuadraticForm.Basic instructions 16.9% |
mcdoll
reviewed
Jan 31, 2024
Member
mcdoll
left a comment
There was a problem hiding this comment.
Thank you so much, I would be very happy if we could remove BilinForm entirely from mathlib and this is a big step.
mcdoll
reviewed
Jan 31, 2024
Co-authored-by: Moritz Doll <[email protected]>
Co-authored-by: Moritz Doll <[email protected]>
mcdoll
reviewed
Jan 31, 2024
Collaborator
Author
|
!bench |
Collaborator
|
Here are the benchmark results for commit bdecf41. Benchmark Metric Change
==================================================================
- ~Mathlib.LinearAlgebra.QuadraticForm.Basic instructions 16.8% |
Member
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by mcdoll. |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 1, 2024
…e companion (#10097) This PR replaces the companion `(B : BilinForm R M)` of a quadratic form with a bilinear map `(B : M →ₗ[R] M →ₗ[R] R)`. This is intended as a baby step towards generalising quadratic forms to quadratic maps. In the future we could allow for companion bilinear or even sesquilinear maps into an `R`-module. Co-authored-by: Christopher Hoskin <[email protected]> Co-authored-by: Christopher Hoskin <[email protected]>
Contributor
|
Build failed (retrying...): |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 1, 2024
…e companion (#10097) This PR replaces the companion `(B : BilinForm R M)` of a quadratic form with a bilinear map `(B : M →ₗ[R] M →ₗ[R] R)`. This is intended as a baby step towards generalising quadratic forms to quadratic maps. In the future we could allow for companion bilinear or even sesquilinear maps into an `R`-module. Co-authored-by: Christopher Hoskin <[email protected]> Co-authored-by: Christopher Hoskin <[email protected]>
Contributor
|
Pull request successfully merged into master. Build succeeded: |
eric-wieser
reviewed
Feb 1, 2024
|
|
||
| variable [Monoid S] [Monoid T] [DistribMulAction S R] [DistribMulAction T R] | ||
| variable [SMulCommClass S R R] [SMulCommClass T R R] | ||
| variable [SMulCommClass R S R] [SMulCommClass S R R] [SMulCommClass T R R] [SMulCommClass R T R] |
Member
There was a problem hiding this comment.
This looks like a regression to me; one implies the other so there should be no need for both
1 task
atarnoam
pushed a commit
that referenced
this pull request
Feb 9, 2024
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 26, 2024
…lar valued bi `LinearMap` (#10238) Following on from #10097, which converted the companion of a quadratic form with a bilinear map, this PR replaces a number of results about quadratic forms and bilinear forms with results about quadratic forms and scalar valued bilinear maps. The long term aim is to be able to consider quadratic maps. The main change is to `LinearAlgebra/QuadraticForm/Basic`, but this necessitates changes throughout `LinearAlgebra/QuadraticForm/`. Minor changes are also required elsewhere: - `LinearAlgebra/CliffordAlgebra/` - `LinearAlgebra/Matrix/PosDef` - `LinearAlgebra/SesquilinearForm` - A number of additional results about tensor products and linear maps are also required. Co-authored-by: Eric Wieser <[email protected]> Co-authored-by: Christopher Hoskin <[email protected]>
riccardobrasca
pushed a commit
that referenced
this pull request
Mar 1, 2024
…lar valued bi `LinearMap` (#10238) Following on from #10097, which converted the companion of a quadratic form with a bilinear map, this PR replaces a number of results about quadratic forms and bilinear forms with results about quadratic forms and scalar valued bilinear maps. The long term aim is to be able to consider quadratic maps. The main change is to `LinearAlgebra/QuadraticForm/Basic`, but this necessitates changes throughout `LinearAlgebra/QuadraticForm/`. Minor changes are also required elsewhere: - `LinearAlgebra/CliffordAlgebra/` - `LinearAlgebra/Matrix/PosDef` - `LinearAlgebra/SesquilinearForm` - A number of additional results about tensor products and linear maps are also required. Co-authored-by: Eric Wieser <[email protected]> Co-authored-by: Christopher Hoskin <[email protected]>
dagurtomas
pushed a commit
that referenced
this pull request
Mar 22, 2024
dagurtomas
pushed a commit
that referenced
this pull request
Mar 22, 2024
…lar valued bi `LinearMap` (#10238) Following on from #10097, which converted the companion of a quadratic form with a bilinear map, this PR replaces a number of results about quadratic forms and bilinear forms with results about quadratic forms and scalar valued bilinear maps. The long term aim is to be able to consider quadratic maps. The main change is to `LinearAlgebra/QuadraticForm/Basic`, but this necessitates changes throughout `LinearAlgebra/QuadraticForm/`. Minor changes are also required elsewhere: - `LinearAlgebra/CliffordAlgebra/` - `LinearAlgebra/Matrix/PosDef` - `LinearAlgebra/SesquilinearForm` - A number of additional results about tensor products and linear maps are also required. Co-authored-by: Eric Wieser <[email protected]> Co-authored-by: Christopher Hoskin <[email protected]>
xgenereux
pushed a commit
that referenced
this pull request
Apr 15, 2024
…lar valued bi `LinearMap` (#10238) Following on from #10097, which converted the companion of a quadratic form with a bilinear map, this PR replaces a number of results about quadratic forms and bilinear forms with results about quadratic forms and scalar valued bilinear maps. The long term aim is to be able to consider quadratic maps. The main change is to `LinearAlgebra/QuadraticForm/Basic`, but this necessitates changes throughout `LinearAlgebra/QuadraticForm/`. Minor changes are also required elsewhere: - `LinearAlgebra/CliffordAlgebra/` - `LinearAlgebra/Matrix/PosDef` - `LinearAlgebra/SesquilinearForm` - A number of additional results about tensor products and linear maps are also required. Co-authored-by: Eric Wieser <[email protected]> Co-authored-by: Christopher Hoskin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR replaces the companion
(B : BilinForm R M)of a quadratic form with a bilinear map(B : M →ₗ[R] M →ₗ[R] R).This is intended as a baby step towards generalising quadratic forms to quadratic maps. In the future we could allow for companion bilinear or even sesquilinear maps into an
R-module.I've previously tried to go straight to quadratic maps (#7569) but it's making for a PR that is too big and unwieldy. This PR is hopefully more achievable.