Skip to content

[Merged by Bors] - feat: SMul instance for AddSubmonoid and lemmas - #18096

Closed
alreadydone wants to merge 3 commits into
masterfrom
AddSubmonoid.mul
Closed

alreadydone wants to merge 3 commits into
masterfrom
AddSubmonoid.mul

Conversation

@alreadydone

Copy link
Copy Markdown
Contributor
  • Introduce a SMul instance for two AddSubmonoids and provide lemmas

  • Introduce a Mul instance for AddSubgroup

  • Prove lemmas for the existing Mul instance on AddSubmonoid, which are generalized from corresponding Submodule lemmas


Open in Gitpod

@alreadydone alreadydone added 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 Oct 22, 2024
@github-actions

github-actions Bot commented Oct 22, 2024 •

Copy link
Copy Markdown

PR summary 51cc9f4226

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ iSup_mul
+ mul
+ mul_iSup
+ mul_sup
+ mul_toAddSubmonoid
+ smul
+ smul_induction_on
+ smul_le
+ smul_le_smul
+ smul_mem_smul
+ sup_mul

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 removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Oct 23, 2024

@jcommelin jcommelin 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+

@mathlib-bors

mathlib-bors Bot commented Oct 24, 2024

Copy link
Copy Markdown
Contributor

✌️ alreadydone 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 the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Oct 24, 2024
Co-authored-by: Johan Commelin <[email protected]>

@alreadydone alreadydone left a comment

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.

Thanks!
bors r+

@ghost ghost 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
+ Introduce a `SMul` instance for two `AddSubmonoid`s and provide lemmas

+ Introduce a `Mul` instance for `AddSubgroup`

+ Prove lemmas for the existing `Mul` instance on `AddSubmonoid`, which are generalized from corresponding `Submodule` lemmas
@mathlib-bors

mathlib-bors Bot commented Oct 24, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: SMul instance for AddSubmonoid and lemmas [Merged by Bors] - feat: SMul instance for AddSubmonoid and lemmas Oct 24, 2024
@mathlib-bors mathlib-bors Bot closed this Oct 24, 2024
@mathlib-bors
mathlib-bors Bot deleted the AddSubmonoid.mul branch October 24, 2024 16:57
YaelDillies added a commit that referenced this pull request Apr 8, 2025
Instead, move the `GroupWithZero` and `Ring` content of `Algebra.Group.Submonoid.Pointwise` and `Algebra.Group.Subgroup.Pointwise` to:
* `Algebra.GroupWithZero.Submonoid`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.GroupWithZero.Subgroup`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.Ring.Submonoid`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.Ring.Subgroup`. See #18096 for the copyright
mathlib-bors Bot pushed a commit that referenced this pull request Apr 9, 2025
…#23832)

Instead, move the `GroupWithZero` and `Ring` content of `Algebra.Group.Submonoid.Pointwise` and `Algebra.Group.Subgroup.Pointwise` to:
* `Algebra.GroupWithZero.Submonoid.Pointwise`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.GroupWithZero.Subgroup`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.Ring.Submonoid.Pointwise`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.Ring.Subgroup`. See #18096 for the copyright
tannerduve pushed a commit that referenced this pull request May 13, 2025
…#23832)

Instead, move the `GroupWithZero` and `Ring` content of `Algebra.Group.Submonoid.Pointwise` and `Algebra.Group.Subgroup.Pointwise` to:
* `Algebra.GroupWithZero.Submonoid.Pointwise`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.GroupWithZero.Subgroup`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.Ring.Submonoid.Pointwise`. See leanprover-community/mathlib3#9359 for the copyright.
* `Algebra.Ring.Subgroup`. See #18096 for the copyright
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). 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.

3 participants