Skip to content

[Merged by Bors] - feat(GroupTheory/Finiteness): well-quasi-ordered monoid must be finitely generated - #30866

Closed
staroperator wants to merge 5 commits into
leanprover-community:masterfrom
staroperator:fg_wqo2
Closed

staroperator wants to merge 5 commits into
leanprover-community:masterfrom
staroperator:fg_wqo2

Conversation

@staroperator

@staroperator staroperator commented Oct 24, 2025 •

Copy link
Copy Markdown
Collaborator

This is a trivial corollary that I forgot to add in #30840. Not an instance, since well-quasi-order is much stronger than finitely generated.

Also generalize the results in #30840 to multiplicative monoids.


Open in Gitpod

@github-actions

github-actions Bot commented Oct 24, 2025 •

Copy link
Copy Markdown

PR summary be264471a4

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ CommMonoid.fg_of_wellQuasiOrderedLE
+ Submonoid.fg_eqLocusM
+ Submonoid.fg_of_divisive
- AddSubmonoid.fg_eqLocusM
- AddSubmonoid.fg_of_subtractive

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.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the t-group-theory Group theory label Oct 24, 2025
@staroperator staroperator added the easy < 20s of review time. See the lifecycle page for guidelines. label Oct 24, 2025

@ocfnash ocfnash left a comment •

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.

Shouldn't we also have the multiplicative version which would state:

theorem CommMonoid.fg_of_wellQuasiOrderedLE {M : Type*} [CommMonoid M] [PartialOrder M]
    [WellQuasiOrderedLE M] [IsOrderedCancelMonoid M] [CanonicallyOrderedMul M] :
    Monoid.FG M where

It looks like you might need to give the same treatment to AddSubmonoid.fg_of_subtractive to achieve this conveniently (i.e., via to_additive).

Or is there a reason not to do this?

Comment thread Mathlib/GroupTheory/Finiteness.lean Resolved
@ocfnash ocfnash added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Oct 29, 2025
@staroperator

Copy link
Copy Markdown
Collaborator Author

Shouldn't we also have the multiplicative version which would state:

theorem CommMonoid.fg_of_wellQuasiOrderedLE {M : Type*} [CommMonoid M] [PartialOrder M]
    [WellQuasiOrderedLE M] [IsOrderedCancelMonoid M] [CanonicallyOrderedMul M] :
    Monoid.FG M where

It looks like you might need to give the same treatment to AddSubmonoid.fg_of_subtractive to achieve this conveniently (i.e., via to_additive).

Or is there a reason not to do this?

Great point! The only reason is that I forgot to do this 😄

@staroperator staroperator added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Oct 29, 2025
@ocfnash ocfnash self-assigned this Oct 30, 2025
@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 31, 2025

@Ruben-VandeVelde Ruben-VandeVelde left a comment

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.

Sounds good, thanks

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Oct 31, 2025

@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.

Thanks 🎉

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Oct 31, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Oct 31, 2025
…ely generated (#30866)

This is a trivial corollary that I forgot to add in #30840. Not an instance, since well-quasi-order is much stronger than finitely generated.

Also generalize the results in #30840 to multiplicative monoids.
@mathlib-bors

mathlib-bors Bot commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(GroupTheory/Finiteness): well-quasi-ordered monoid must be finitely generated [Merged by Bors] - feat(GroupTheory/Finiteness): well-quasi-ordered monoid must be finitely generated Oct 31, 2025
@mathlib-bors mathlib-bors Bot closed this Oct 31, 2025
BeibeiX0 pushed a commit to BeibeiX0/mathlib4 that referenced this pull request Nov 7, 2025
…ely generated (leanprover-community#30866)

This is a trivial corollary that I forgot to add in leanprover-community#30840. Not an instance, since well-quasi-order is much stronger than finitely generated.

Also generalize the results in leanprover-community#30840 to multiplicative monoids.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors. t-group-theory Group theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants