Skip to content

feat(Algebra/Algebra/Prod): add prodUnique and uniqueProd for LinearEquiv and AlgebraEquiv#9105

Closed
LukasMias wants to merge 6 commits intomasterfrom
LinearEquiv_AlgebraEquiv_prodUnique
Closed

feat(Algebra/Algebra/Prod): add prodUnique and uniqueProd for LinearEquiv and AlgebraEquiv#9105
LukasMias wants to merge 6 commits intomasterfrom
LinearEquiv_AlgebraEquiv_prodUnique

Conversation

@LukasMias
Copy link
Copy Markdown
Contributor

This adds definitions of linear equivalences for modules M with their left-/right-product with a trivial module M \times 0 and 0 \times M, and analogous statements for Algebras.


Open in Gitpod

@LukasMias LukasMias added awaiting-review t-algebra Algebra (groups, rings, fields, etc) labels Dec 16, 2023

/-- Multiplying by the trivial algebra from the left does not change the structure.

This is the `AlgebraEquiv` version of `AddEquiv.uniqueProd`. -/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's link the strongest weaker equivalence:

Suggested change
This is the `AlgebraEquiv` version of `AddEquiv.uniqueProd`. -/
This is the `AlgebraEquiv` version of `LinearEquiv.uniqueProd`. -/

Ideally we'd mentionRingEquiv.uniqueProd too, but I assume that's also missing.

Copy link
Copy Markdown
Contributor Author

@LukasMias LukasMias Dec 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RingEquiv.prodZeroRing and RingEquiv.zeroRingProd exist, but they use the condition [Subsingleton S] rather than [Unique S]. Any thoughts on whether we'd like these to be more consistent with one another? In any case, probably worth referencing them to one another for ease of use.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The naming discrepancy sounds like a question for Zulip.
Using Subsingleton instead of Unique does seem sensible here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'm happy to merge as is with a reference to the inconsistent ring name, if you'd prefer to do this in two steps)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened a Zulip thread about that here. I'll already commit a change to make them refer to one another tho

Copy link
Copy Markdown
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors d+

I pushed some cleanups. Let's leave the inconsistency to resolve in future, the cross-references are enough for now.

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 31, 2023

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

@eric-wieser eric-wieser added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Dec 31, 2023
@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Dec 31, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Dec 31, 2023
@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 14, 2024
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented May 24, 2024

Coming here from issue triage: it seems this PR is basically ready to go, except for merge conflicts.
Would you like help with these?

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes. and removed delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). labels Oct 8, 2024
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented Apr 15, 2025

Coming here for PR triage: I recently created a PR with LinearEquiv.prodUnique - so I care about that getting merged. I'm very happy for your PR to merge first, though. Would you like to fix the merge conflicts, @LukasMias? (Or would you like me to do it?)

mathlib-bors bot pushed a commit that referenced this pull request May 6, 2025
Adds definitions of linear equivalences for modules M with their left-/right-product with a trivial module M \times 0 and 0 \times M, and analogous statements for Algebras.

Rebased version of #9105.
Co-authored-by: @LukasMias
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented May 6, 2025

This PR has been merged as #24168 now; hence, let me close this PR. Thanks for your work!

@grunweg grunweg closed this May 6, 2025
riccardobrasca pushed a commit that referenced this pull request May 7, 2025
Adds definitions of linear equivalences for modules M with their left-/right-product with a trivial module M \times 0 and 0 \times M, and analogous statements for Algebras.

Rebased version of #9105.
Co-authored-by: @LukasMias
tannerduve pushed a commit that referenced this pull request May 13, 2025
Adds definitions of linear equivalences for modules M with their left-/right-product with a trivial module M \times 0 and 0 \times M, and analogous statements for Algebras.

Rebased version of #9105.
Co-authored-by: @LukasMias
@YaelDillies YaelDillies deleted the LinearEquiv_AlgebraEquiv_prodUnique branch August 12, 2025 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author A reviewer has asked the author a question or requested changes. merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants