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

fix p_is_p' #123

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FLT/mathlibExperiments/Frobenius.lean
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ lemma q_is_p'_pow_n : p' ^ n = q :=

lemma p_is_p' : p = p' := by
-- `q = 0` in `A⧸ P` and `p | q` since `CharP p` then since `q = p' ^ n` then `p' = p`
have eq0 : (q : A⧸ P) = 0 := sorry--CharP.cast_card_eq_zero (A ⧸ P) -- mathlib bump broke this
have eq0 : (q : A⧸ P) = 0 := Nat.cast_card_eq_zero (A ⧸ P)
have h1 : p ∣ q := charP_iff (A ⧸ P) p |>.1 (p_is_char P) q |>.1 eq0
have eq1 : p' ^ n = q := q_is_p'_pow_n P
rw [← eq1] at h1
Expand Down
Loading