Skip to content

[Merged by Bors] - feat: LinearEquiv.congrQuadraticMap and LinearEquiv.congrRight₂#17454

Closed
mans0954 wants to merge 12 commits intomasterfrom
mans0954/congr₂

Hidden character warning

The head ref may contain hidden characters: "mans0954/congr\u2082"
Closed

[Merged by Bors] - feat: LinearEquiv.congrQuadraticMap and LinearEquiv.congrRight₂#17454
mans0954 wants to merge 12 commits intomasterfrom
mans0954/congr₂

Conversation

@mans0954
Copy link
Copy Markdown
Collaborator

@mans0954 mans0954 commented Oct 5, 2024

LinearEquiv.congrQuadraticMap matches LinearMap.compQuadraticMap, while LinearEquiv.congrRight₂ somewhat matches LinearMap.compr₂.

Used in #14988


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 5, 2024

PR summary 3baf09a3ae

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ _root_.LinearEquiv.congrQuadraticMap
+ _root_.LinearEquiv.congrQuadraticMap_refl
+ _root_.LinearEquiv.congrQuadraticMap_symm
+ _root_.LinearEquiv.congrRight_symm
+ _root_.LinearEquiv.congrRight₂
+ _root_.LinearEquiv.congrRight₂_apply
+ _root_.LinearEquiv.congrRight₂_refl
+ _root_.LinearEquiv.congrRight₂_trans

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.

@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Oct 5, 2024
mans0954 and others added 3 commits October 5, 2024 21:31
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@eric-wieser eric-wieser changed the title feature(LinearAlgebra/QuadraticForm/Basic): congr₂ feature(LinearAlgebra/QuadraticForm/Basic): LinearEquiv.congrQuadraticMap and LinearMap.BilinMap.congr₂ Oct 6, 2024
@eric-wieser eric-wieser changed the title feature(LinearAlgebra/QuadraticForm/Basic): LinearEquiv.congrQuadraticMap and LinearMap.BilinMap.congr₂ feat: LinearEquiv.congrQuadraticMap and LinearMap.BilinMap.congr₂ Oct 6, 2024
@eric-wieser
Copy link
Copy Markdown
Member

I'm not super happy with the naming, but I also don't have any better ideas.

Maybe another reviewer does!

maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 6, 2024

🚀 Pull request has been placed on the maintainer queue by eric-wieser.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Oct 6, 2024
@kbuzzard
Copy link
Copy Markdown
Member

kbuzzard commented Oct 7, 2024

If we're going to bikeshed over names then another possibility for LinearMap.BilinForm.congr₂ would I guess be LinearMap.BilinForm.congrRight. But I'd be happy to merge either choice.

@eric-wieser
Copy link
Copy Markdown
Member

I think that would be rather confusing, because LinearMap.BilinForm.compRight sounds like it ought to be analogous, but is about the (right) domain rather than the codomain.

@jcommelin
Copy link
Copy Markdown
Member

@mans0954 Unrelated, but github gives the following warning:

The head ref may contain hidden characters: "mans0954/congr\u2082"

I think it's good to stick to ascii for branch names.

@jcommelin
Copy link
Copy Markdown
Member

@eric-wieser For equivs, congrRight is in fact about the codomain: e.g. LinearEquiv.congrRight

@mans0954
Copy link
Copy Markdown
Collaborator Author

So, is the consensus for LinearMap.BilinForm.congrRight? I've pushed a commit with that.

@eric-wieser
Copy link
Copy Markdown
Member

@eric-wieser For equivs, congrRight is in fact about the codomain: e.g. LinearEquiv.congrRight

I would argue this is not about Equivs, but about linear maps; that is, you get the definition in this PR by swapping LinearMap with BilinMap, not by swapping LinearEquiv with BilinMap.

So I guess you could go with LinearEquiv.congrRight₂ which is a little bit like the non-equivalence version LinearMap.compr₂.

@mans0954
Copy link
Copy Markdown
Collaborator Author

you get the definition in this PR by swapping LinearMap with BilinMap, not by swapping LinearEquiv with BilinMap.

I'm afraid this has been going on for so long I have no recollection of where I adapted it from now.

@mans0954
Copy link
Copy Markdown
Collaborator Author

@eric-wieser is this what you mean?

ecc7619

@eric-wieser eric-wieser changed the title feat: LinearEquiv.congrQuadraticMap and LinearMap.BilinMap.congr₂ feat: LinearEquiv.congrQuadraticMap and LinearEquiv.congrRight₂ Oct 14, 2024
@eric-wieser
Copy link
Copy Markdown
Member

Yes, that's what I meant. @jcommelin, are you happy with those?

bors d=@jcommelin

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Oct 14, 2024

✌️ jcommelin 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 the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Oct 14, 2024
@mans0954
Copy link
Copy Markdown
Collaborator Author

@jcommelin are you able to merge this PR now please?

@jcommelin
Copy link
Copy Markdown
Member

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Oct 24, 2024
mathlib-bors bot pushed a commit that referenced this pull request Oct 24, 2024
…17454)

`LinearEquiv.congrQuadraticMap` matches `LinearMap.compQuadraticMap`, while `LinearEquiv.congrRight₂` somewhat matches `LinearMap.compr₂`.

Used in  #14988



Co-authored-by: Christopher Hoskin <[email protected]>
Co-authored-by: Eric Wieser <[email protected]>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Oct 24, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: LinearEquiv.congrQuadraticMap and LinearEquiv.congrRight₂ [Merged by Bors] - feat: LinearEquiv.congrQuadraticMap and LinearEquiv.congrRight₂ Oct 24, 2024
@mathlib-bors mathlib-bors bot closed this Oct 24, 2024
@mathlib-bors mathlib-bors bot deleted the mans0954/congr₂ branch October 24, 2024 05:07
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). maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants