-
Notifications
You must be signed in to change notification settings - Fork 298
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/char_p/basic): weaken assumptions integral_domain --> semiring+ #6753
Conversation
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Thanks, Eric! CI is really slow today... |
| 1, hc := absurd (eq.refl (1 : ℕ)) (@char_ne_one R _ _ (1 : ℕ) hc) | ||
| (m+2), hc := or.inl (@char_is_prime_of_two_le R _ _ (m+2) hc (nat.le_add_left 2 m)) |
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.
I wonder - can you remove the @
s here?
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.
I will try to see this, but, if I introduced them, it was because I had to. I will see if they can be removed!
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 d+
✌️ adomani can now approve this pull request. To approve and merge a pull request, simply reply with |
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.
I was not able to remove the extra @: I introduced them, since Lean was complaining otherwise. I will merge as is! Thanks!
You didn't introduce the |
Removing the @ and the appropriate underscores, Lean says that it cannot find the instance |
bors r+ |
…emiring+ (#6753) Taking advantage of the `no_zero_divisors` typeclass, the assumptions on some of the results can be weakened.
Pull request successfully merged into master. Build succeeded: |
…emiring+ (#6753) Taking advantage of the `no_zero_divisors` typeclass, the assumptions on some of the results can be weakened.
Taking advantage of the
no_zero_divisors
typeclass, the assumptions on some of the results can be weakened.