Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - move(algebra/order/monoid/*): Relocate zero_le_one_class#17646

Closed
YaelDillies wants to merge 5 commits intomasterfrom
move_zero_le_one
Closed

[Merged by Bors] - move(algebra/order/monoid/*): Relocate zero_le_one_class#17646
YaelDillies wants to merge 5 commits intomasterfrom
move_zero_le_one

Conversation

@YaelDillies
Copy link
Copy Markdown
Collaborator

Move zero_le_one_class and linear_ordered_comm_monoid_with_zero to algebra.order.monoid.with_zero. This makes algebra.order.monoid.defs and algebra.order.monoid.canonical.defs not depend on group_with_zero anymore.

And indeed we want to develop the theory of ordered additive and multiplicative monoids before mixing both worlds.


Open in Gitpod

@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-algebra Algebra (groups, rings, fields etc) t-order Order hierarchy labels Nov 20, 2022
@kim-em
Copy link
Copy Markdown
Collaborator

kim-em commented Nov 20, 2022

I fixed one error. Since this is right at the edge of where porting is happening, let's merge asap.

bors p=10

bors d+

@bors
Copy link
Copy Markdown

bors bot commented Nov 20, 2022

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

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Nov 20, 2022
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Nov 21, 2022
bors bot pushed a commit that referenced this pull request Nov 21, 2022
Move `zero_le_one_class` and `linear_ordered_comm_monoid_with_zero` to `algebra.order.monoid.with_zero`. This makes `algebra.order.monoid.defs` and `algebra.order.monoid.canonical.defs` not depend on `group_with_zero` anymore.

And indeed we want to develop the theory of ordered additive and multiplicative monoids before mixing both worlds.



Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
Co-authored-by: Moritz Doll <moritz.doll@googlemail.com>
@bors
Copy link
Copy Markdown

bors bot commented Nov 21, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title move(algebra/order/monoid/*): Relocate zero_le_one_class [Merged by Bors] - move(algebra/order/monoid/*): Relocate zero_le_one_class Nov 21, 2022
@bors bors bot closed this Nov 21, 2022
@bors bors bot deleted the move_zero_le_one branch November 21, 2022 11:25
bors bot pushed a commit that referenced this pull request Dec 6, 2022
)

#17646 move `zero_le_one_class` to `algebra.order.monoid.with_zero`. This PR split things about `zero_le_one_class` into two files.

Also, all lemmas about numerics other than 0 and 1 require typeclass `add_monoid_with_one` now.

[Zulip](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/OfNat)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-algebra Algebra (groups, rings, fields etc) t-order Order hierarchy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants