Skip to content

[Merged by Bors] - refactor(LinearAlgebra/QuadraticForm): Replace BilinForm with a scalar valued bi LinearMap#10238

Closed
mans0954 wants to merge 70 commits intomasterfrom
mans0954/quadratic-form-bilinear-map2
Closed

[Merged by Bors] - refactor(LinearAlgebra/QuadraticForm): Replace BilinForm with a scalar valued bi LinearMap#10238
mans0954 wants to merge 70 commits intomasterfrom
mans0954/quadratic-form-bilinear-map2

Conversation

@mans0954
Copy link
Copy Markdown
Collaborator

@mans0954 mans0954 commented Feb 4, 2024

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.

Open in Gitpod

@mans0954 mans0954 added the WIP Work in progress label Feb 4, 2024
@ghost ghost added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Feb 4, 2024
@mans0954 mans0954 marked this pull request as ready for review February 4, 2024 20:50
@mans0954 mans0954 added awaiting-review and removed WIP Work in progress labels Feb 4, 2024
@mans0954
Copy link
Copy Markdown
Collaborator Author

mans0954 commented Feb 4, 2024

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 1fe7c06.
There were significant changes against commit 08f99f8:

  Benchmark                                                       Metric         Change
  =====================================================================================
+ ~Mathlib.LinearAlgebra.CliffordAlgebra.BaseChange               instructions   -14.2%
- ~Mathlib.LinearAlgebra.QuadraticForm.Basic                      instructions    30.0%
- ~Mathlib.LinearAlgebra.QuadraticForm.TensorProduct              instructions    57.9%
+ ~Mathlib.LinearAlgebra.QuadraticForm.TensorProduct.Isometries   instructions   -12.5%

@ghost ghost removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Feb 8, 2024
@ghost
Copy link
Copy Markdown

ghost commented Feb 8, 2024

This PR/issue depends on:

@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 21, 2024
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 21, 2024
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Feb 22, 2024
@eric-wieser
Copy link
Copy Markdown
Member

bors d+

Thanks for this, it now looks excellent!

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 25, 2024

✌️ mans0954 can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Feb 25, 2024
@eric-wieser eric-wieser added the t-algebra Algebra (groups, rings, fields, etc) label Feb 25, 2024
@mans0954
Copy link
Copy Markdown
Collaborator Author

bors r+

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]>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 26, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(LinearAlgebra/QuadraticForm): Replace BilinForm with a scalar valued bi LinearMap [Merged by Bors] - refactor(LinearAlgebra/QuadraticForm): Replace BilinForm with a scalar valued bi LinearMap Feb 26, 2024
@mathlib-bors mathlib-bors bot closed this Feb 26, 2024
@mathlib-bors mathlib-bors bot deleted the mans0954/quadratic-form-bilinear-map2 branch February 26, 2024 01:47
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
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants