Repository navigation
[Merged by Bors] - feat(Algebra/Group): semigroup ideals - #31497
staroperator wants to merge 17 commits into
Conversation
PR summary ede1a9b152Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
YaelDillies
left a comment
There was a problem hiding this comment.
Could you split off the new SubMulAction material to a preliminary PR?
| generated. -/ | ||
| @[to_additive /-- In a canonically ordered and well-quasi-ordered additive monoid, any semigroup | ||
| ideal is finitely generated. -/] | ||
| theorem fg_of_wellQuasiOrderedLE (I : SemigroupIdeal M) : I.FG := by |
There was a problem hiding this comment.
| theorem fg_of_wellQuasiOrderedLE (I : SemigroupIdeal M) : I.FG := by | |
| theorem FG.of_wellQuasiOrderedLE (I : SemigroupIdeal M) : I.FG := by |
There was a problem hiding this comment.
Is this an actual improvement? There are 58 fg_of_ but only 5 FG.of_ in Mathlib.
There was a problem hiding this comment.
That's not surprising to me. Anonymous dot notation wasn't a thing in Lean 3
| have hs : ∀ x ∈ s, ∃ i, x ∈ f i := by | ||
| intro x hx |
There was a problem hiding this comment.
nit:
| have hs : ∀ x ∈ s, ∃ i, x ∈ f i := by | |
| intro x hx | |
| have hs x (hx : x ∈ s) : ∃ i, x ∈ f i := by |
There was a problem hiding this comment.
This looks less readable than the quantifiers.
Co-authored-by: Yaël Yanis Dillies <[email protected]>
|
This PR/issue depends on: |
| def closure (s : Set M) : SemigroupIdeal M := | ||
| SubMulAction.closure M s |
There was a problem hiding this comment.
| def closure (s : Set M) : SemigroupIdeal M := | |
| SubMulAction.closure M s | |
| abbrev closure (s : Set M) : SemigroupIdeal M := | |
| SubMulAction.closure M s |
There was a problem hiding this comment.
I'm following Ideal.span which is a def, not an abbrev. I should add a simp lemma subMulActionClosure_eq.
There was a problem hiding this comment.
Maybe we are just being inconsistent, but in comparison PointedCone.span is an abbrev. It certainly make more sense to me as an abbrev since there's no functional difference between both declarations
There was a problem hiding this comment.
That makes sense. My concern is that making it abbrev allows simp to rewrite a SemigroupIdeal into a SubMulAction, which makes lemmas on SemigroupIdeal less discoverable.
There was a problem hiding this comment.
@YaelDillies Do you still think abbrev is better than def?
There was a problem hiding this comment.
Yes, I think so. This can always be changed later either way, but I believe abbrev is the right design here
There was a problem hiding this comment.
Then I will use abbrev here. Though we can still change it if we find the best design
YaelDillies
left a comment
There was a problem hiding this comment.
Thanks!
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
|
✌️ staroperator can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
This PR defines semigroup ideals; they are different from (in fact, a weaker form of) ring ideals. We prove that in a monoid whose algebraic order is well-quasi-order, all semigroup ideals are finitely generated, and the semigroup ideals satisfy the ascending chain condition. These definitions and results are useful in #27414. Note: Following `Ideal` with `Submodule`, `SemigroupIdeal M` is an `abbrev` of `SubMulAction M M`. Also, `Ideal.closure` is a re-definition of `SubMulAction.closure` and `Ideal.FG` is defeq to `SubMulAction.FG` but unfolds more nicely.
|
Pull request successfully merged into master. Build succeeded: |
This PR defines semigroup ideals; they are different from (in fact, a weaker form of) ring ideals. We prove that in a monoid whose algebraic order is well-quasi-order, all semigroup ideals are finitely generated, and the semigroup ideals satisfy the ascending chain condition. These definitions and results are useful in #27414.
Note: Following
IdealwithSubmodule,SemigroupIdeal Mis anabbrevofSubMulAction M M. Also,Ideal.closureis a re-definition ofSubMulAction.closureandIdeal.FGis defeq toSubMulAction.FGbut unfolds more nicely.SubMulActionandSubAddAction#31517