-
Notifications
You must be signed in to change notification settings - Fork 235
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: charP_iff_prime_eq_zero #6516
Conversation
ChrisHughes24
commented
Aug 11, 2023
@@ -605,7 +605,12 @@ theorem ringChar_of_prime_eq_zero [Nontrivial R] {p : ℕ} (hprime : Nat.Prime p | |||
Or.resolve_left ((Nat.dvd_prime hprime).1 (ringChar.dvd hp0)) ringChar_ne_one | |||
#align char_p.ring_char_of_prime_eq_zero CharP.ringChar_of_prime_eq_zero | |||
|
|||
end CharOne | |||
theorem charP_iff_prime_eq_zero [Nontrivial R] {p : ℕ} (hp : p.Prime) : |
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'd be tempted to add a cast
to this name to match cast_eq_zero
, though you should do the same to the ringChar
lemma above (and the PR title) if you agree:
theorem charP_iff_prime_eq_zero [Nontrivial R] {p : ℕ} (hp : p.Prime) : | |
theorem charP_iff_cast_eq_zero_of_prime [Nontrivial R] {p : ℕ} (hp : p.Prime) : |
bors d+
✌️ ChrisHughes24 can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |