New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(algebra/order/sub): An add_group
has ordered subtraction
#10225
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make more sense to do this in the other direction, and have group
import sub
?
I think so too! because then we can also deduplicate the two lemmas: we get rid of |
I'd leave the renaming for another PR, but I think it probably makes sense. |
I think this instance is indeed good to add. I'm not sure if I'm in favor of renaming |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 🎉
bors merge
This wraps up `sub_le_iff_le_add` in an `has_ordered_sub` instance.
Pull request successfully merged into master. Build succeeded: |
add_group
has ordered subtractionadd_group
has ordered subtraction
This wraps up
sub_le_iff_le_add
in anhas_ordered_sub
instance.