Skip to content

[Merged by Bors] - feat: port Algebra.Order.Monoid.WithTop#902

Closed
joneugster wants to merge 18 commits intomasterfrom
JE_algbra.order.monoid.with_top
Closed

[Merged by Bors] - feat: port Algebra.Order.Monoid.WithTop#902
joneugster wants to merge 18 commits intomasterfrom
JE_algbra.order.monoid.with_top

Conversation

@joneugster
Copy link
Copy Markdown
Contributor

@joneugster joneugster commented Dec 7, 2022

mathlib3: 655994e298904d7e5bbd1e18c95defd7b543eb94

Not too bad. Mostly renaming instances and a few broken proofs.

Things to double-check (all marked with Porting note):

  • lift is not implemented yet, I replaced it with induction.
  • In addSemigroup I didn't get repeat or repeat' to work. That could be golfed.
  • In WithTop.addHom the anonymous constructor didn't work, but writing it out, it did. Is that expected?
  • I'm a bit unsure about coersions. I left in most things and removed (commented out) the lemma coe_coe_add_hom. Could be worth gleaming over anything that has coe in it's name.

@joneugster joneugster added WIP Work in progress mathlib-port This is a port of a theory file from mathlib. labels Dec 7, 2022
@joneugster joneugster added awaiting-review and removed WIP Work in progress labels Dec 8, 2022
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@kim-em kim-em added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Dec 9, 2022
bors bot pushed a commit that referenced this pull request Dec 9, 2022
mathlib3: 655994e298904d7e5bbd1e18c95defd7b543eb94

- [x] depends on #910

Not too bad. Mostly renaming instances and a few broken proofs.

Things to double-check (all marked with `Porting note`):
- `lift` is not implemented yet, I replaced it with `induction`.
- In `addSemigroup` I didn't get `repeat` or `repeat'` to work. That could be golfed.
- In `WithTop.addHom` the anonymous constructor didn't work, but writing it out, it did. Is that expected?
- I'm a bit unsure about coersions. I left in most things and removed (commented out) the lemma `coe_coe_add_hom`. Could be worth gleaming over anything that has `coe` in it's name.


Co-authored-by: Jon Eugster <eugster.jon@gmail.com>
Co-authored-by: Jon Eugster <Jon.Eugster@hhu.de>
@bors
Copy link
Copy Markdown

bors bot commented Dec 9, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Algebra.Order.Monoid.WithTop [Merged by Bors] - feat: port Algebra.Order.Monoid.WithTop Dec 9, 2022
@bors bors bot closed this Dec 9, 2022
@bors bors bot deleted the JE_algbra.order.monoid.with_top branch December 9, 2022 07:00
bors bot pushed a commit to leanprover-community/mathlib3 that referenced this pull request Dec 10, 2022
Regenerated from the [port status wiki page](https://github.com/leanprover-community/mathlib/wiki/mathlib4-port-status).
Relates to the following PRs:
* `algebra.group.ulift`: leanprover-community/mathlib4#906
* `algebra.group.with_one.basic`: leanprover-community/mathlib4#922
* `algebra.group_with_zero.units.lemmas`: leanprover-community/mathlib4#920
* `algebra.order.field.defs`: leanprover-community/mathlib4#905
* `algebra.order.group.abs`: leanprover-community/mathlib4#896
* `algebra.order.group.inj_surj`: leanprover-community/mathlib4#916
* `algebra.order.group.type_tags`: leanprover-community/mathlib4#921
* `algebra.order.monoid.with_top`: leanprover-community/mathlib4#902
* `algebra.order.positive.ring`: leanprover-community/mathlib4#911
* `algebra.order.ring.canonical`: leanprover-community/mathlib4#905
* `algebra.order.ring.char_zero`: leanprover-community/mathlib4#905
* `algebra.order.ring.defs`: leanprover-community/mathlib4#905
* `algebra.order.ring.inj_surj`: leanprover-community/mathlib4#917
* `algebra.ring.idempotents`: leanprover-community/mathlib4#918
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants