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

Conversation

@YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented Mar 16, 2023

A few missing instances about nat.cast/int.cast/rat.cast and mul_opposite/add_opposite.
Also add the (weirdly) missing add_comm_group_with_one → add_comm_monoid_with_one.

Finally, this changes the defeq of rat.cast on mul_opposite to be simpler.


Match leanprover-community/mathlib4#2940

Open in Gitpod

@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-algebra Algebra (groups, rings, fields etc) labels Mar 16, 2023
@eric-wieser eric-wieser added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Mar 17, 2023
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Mar 17, 2023
Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors merge

Thanks! I edited the description mention the defeq of rat.cast

@leanprover-community-bot-assistant leanprover-community-bot-assistant added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Mar 17, 2023
bors bot pushed a commit that referenced this pull request Mar 17, 2023
A few missing instances about `nat.cast`/`int.cast`/`rat.cast` and `mul_opposite`/`add_opposite`.
Also add the (weirdly) missing `add_comm_group_with_one → add_comm_monoid_with_one`.

Finally, this changes the defeq of `rat.cast` on `mul_opposite` to be simpler.
@bors
Copy link

bors bot commented Mar 17, 2023

Build failed:

@eric-wieser
Copy link
Member

bors merge

bors bot pushed a commit that referenced this pull request Mar 17, 2023
A few missing instances about `nat.cast`/`int.cast`/`rat.cast` and `mul_opposite`/`add_opposite`.
Also add the (weirdly) missing `add_comm_group_with_one → add_comm_monoid_with_one`.

Finally, this changes the defeq of `rat.cast` on `mul_opposite` to be simpler.
@bors
Copy link

bors bot commented Mar 17, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/*/opposite): Missing instances [Merged by Bors] - feat(algebra/*/opposite): Missing instances Mar 17, 2023
@bors bors bot closed this Mar 17, 2023
@bors bors bot deleted the cast_opposite branch March 17, 2023 22:30
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Mar 24, 2023
Match leanprover-community/mathlib3#18602



Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants