Skip to content

[Merged by Bors] - feat: add definition of opposite of subsemirings, subrings, and subalgebras - #12846

Closed
acmepjz wants to merge 6 commits into
masterfrom
acmepjz_subalg_op
Closed

acmepjz wants to merge 6 commits into
masterfrom
acmepjz_subalg_op

Conversation

@acmepjz

@acmepjz acmepjz commented May 12, 2024 •

Copy link
Copy Markdown
Collaborator

@acmepjz acmepjz added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-algebra Algebra (groups, rings, fields, etc) labels May 12, 2024
@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 May 12, 2024
@eric-wieser

Copy link
Copy Markdown
Member

Can you copy the Submonoid.MulOpposite file here instead, and build up separate op and unop definitions?

acmepjz added a commit that referenced this pull request May 12, 2024
@acmepjz

acmepjz commented May 12, 2024

Copy link
Copy Markdown
Collaborator Author

Can you copy the Submonoid.MulOpposite file here instead, and build up separate op and unop definitions?

Let me check later.

@acmepjz acmepjz added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels May 12, 2024
@acmepjz

acmepjz commented May 19, 2024

Copy link
Copy Markdown
Collaborator Author

Can you copy the Submonoid.MulOpposite file here instead, and build up separate op and unop definitions?

Done.

@acmepjz acmepjz added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels May 19, 2024
@acmepjz acmepjz changed the title feat(Algebra/Algebra/Subalgebra/MulOpposite): add definition of opposite of subalgebras feat: add definition of opposite of subsemirings, subrings, and subalgebras May 19, 2024

/-- A subalgebra `S` of `A / R` determines a subring `S.op` of the opposite ring `Aᵐᵒᵖ / R`. -/
@[simps]
def opEquiv : Subalgebra R A ≃o Subalgebra R Aᵐᵒᵖ where

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
def opEquiv : Subalgebra R A ≃o Subalgebra R Aᵐᵒᵖ where
def opOrderIso : Subalgebra R A ≃o Subalgebra R Aᵐᵒᵖ where

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

But it's called Submonoid.opEquiv for Submonoid, etc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Uh, okay 😦

@YaelDillies YaelDillies added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Jun 17, 2024
@acmepjz acmepjz added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jun 17, 2024
@github-actions

github-actions Bot commented Jun 17, 2024 •

Copy link
Copy Markdown

PR summary 0f07e4166a

Import changes

No significant changes to the import graph


Declarations diff

+ algEquivOpMop
+ linearEquivOp
+ mopAlgEquivOp
+ op_adjoin
+ op_toSubring
+ unop_adjoin
+ unop_toSubring
++ addEquivOp
++ mopRingEquivOp
++ op_closure
++ ringEquivOpMop
++ unop_closure
+++ le_op_iff
+++ mem_op
+++ mem_unop
+++ op
+++ opEquiv
+++ op_bot
+++ op_coe
+++ op_iInf
+++ op_iSup
+++ op_inf
+++ op_le_iff
+++ op_le_op_iff
+++ op_sInf
+++ op_sSup
+++ op_sup
+++ op_top
+++ op_unop
+++ unop
+++ unop_bot
+++ unop_coe
+++ unop_iInf
+++ unop_iSup
+++ unop_inf
+++ unop_le_unop_iff
+++ unop_op
+++ unop_sInf
+++ unop_sSup
+++ unop_sup
+++ unop_top

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

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

@YaelDillies

Copy link
Copy Markdown
Contributor

Thanks!

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 17, 2024

namespace Subsemiring

variable {ι R : Type*} [NonAssocSemiring R]

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.

ι should be a Sort*

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@eric-wieser eric-wieser left a comment

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.

Just the ι issue to solve (in all three files)

@eric-wieser eric-wieser left a comment

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.

bors d+

thanks!

@mathlib-bors

mathlib-bors Bot commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

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

@ghost ghost added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed awaiting-review labels Jun 18, 2024
@eric-wieser eric-wieser added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jun 18, 2024
@acmepjz acmepjz removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jun 18, 2024
@acmepjz

acmepjz commented Jun 18, 2024

Copy link
Copy Markdown
Collaborator Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Jun 18, 2024
…gebras (#12846)

similar to that in `Mathlib.Algebra.Group.Subgroup.MulOpposite`
@mathlib-bors

mathlib-bors Bot commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: add definition of opposite of subsemirings, subrings, and subalgebras [Merged by Bors] - feat: add definition of opposite of subsemirings, subrings, and subalgebras Jun 18, 2024
@mathlib-bors mathlib-bors Bot closed this Jun 18, 2024
@mathlib-bors
mathlib-bors Bot deleted the acmepjz_subalg_op branch June 18, 2024 00:50
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
…gebras (#12846)

similar to that in `Mathlib.Algebra.Group.Subgroup.MulOpposite`
grunweg pushed a commit that referenced this pull request Jun 20, 2024
…gebras (#12846)

similar to that in `Mathlib.Algebra.Group.Subgroup.MulOpposite`
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
…gebras (#12846)

similar to that in `Mathlib.Algebra.Group.Subgroup.MulOpposite`
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. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants