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): generalize is_domain.to_cancel_monoid_with_zero to no_zero_divisors #11387

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jan 12, 2022

This generalization doesn't work for typeclass search as cancel_monoid_with_zero implies no_zero_divisors which would form a loop, but it can be useful for a letI in another proof.

Independent of whether this turns out to be useful, it's nice to show that nontriviality doesn't affect the fact that rings with no zero divisors are cancellative.


Open in Gitpod

…h_zero` to `no_zero_divisors`

This generalization doesn't work for typeclass search, but it can be useful for a `letI` in another proof.

Independent of whether this turns out to be useful, it's nice to show that nontriviality doesn't affect the fact that rings with no zero divisors are cancellative.
@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Jan 12, 2022
Copy link
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

@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 Jan 12, 2022
bors bot pushed a commit that referenced this pull request Jan 12, 2022
…h_zero` to `no_zero_divisors` (#11387)

This generalization doesn't work for typeclass search as `cancel_monoid_with_zero` implies `no_zero_divisors` which would form a loop, but it can be useful for a `letI` in another proof.

Independent of whether this turns out to be useful, it's nice to show that nontriviality doesn't affect the fact that rings with no zero divisors are cancellative.
@bors
Copy link

bors bot commented Jan 12, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(algebra/ring/basic): generalize is_domain.to_cancel_monoid_with_zero to no_zero_divisors [Merged by Bors] - chore(algebra/ring/basic): generalize is_domain.to_cancel_monoid_with_zero to no_zero_divisors Jan 12, 2022
@bors bors bot closed this Jan 12, 2022
@bors bors bot deleted the eric-wieser/no_zero_divisors.to_cancel_monoid_with_zero branch January 12, 2022 09:56
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