Skip to content
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] - chore(algebra/ring/basic): weaken ring.inverse to only require monoid_with_zero #6603

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member

Split from #5539 because I actually want to use this, and the PR is large and stalled.


@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Mar 9, 2021
@@ -892,24 +892,24 @@ lemma add_monoid_hom.coe_add_monoid_hom_mk_ring_hom_of_mul_self_of_two_ne_zero [
end integral_domain

namespace ring
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you really want to keep this in the ring namespace?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have no idea where this belongs. monoid_with_zero.inverse is significantly longer. My thinking was that if no one has any particularly compelling name ideas, we may as well leave it where it is.

Leaving the name unchanged also saves me from having to change every caller!

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm fine with this, but then should mention it explicitly in the docstring.

@sgouezel
Copy link
Collaborator

sgouezel commented Mar 9, 2021

bors r+

@github-actions github-actions bot 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 9, 2021
bors bot pushed a commit that referenced this pull request Mar 9, 2021
…_with_zero (#6603)

Split from #5539 because I actually want to use this, and the PR is large and stalled.




Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Mar 9, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Mar 9, 2021
…_with_zero (#6603)

Split from #5539 because I actually want to use this, and the PR is large and stalled.




Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Mar 10, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(algebra/ring/basic): weaken ring.inverse to only require monoid_with_zero [Merged by Bors] - chore(algebra/ring/basic): weaken ring.inverse to only require monoid_with_zero Mar 10, 2021
@bors bors bot closed this Mar 10, 2021
@bors bors bot deleted the eric-wieser/ring-inverse branch March 10, 2021 02:23
ocfnash pushed a commit that referenced this pull request Mar 12, 2021
…_with_zero (#6603)

Split from #5539 because I actually want to use this, and the PR is large and stalled.




Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
…_with_zero (#6603)

Split from #5539 because I actually want to use this, and the PR is large and stalled.




Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants