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

Adapt to https://github.com/math-comp/math-comp/pull/1052 #49

Merged
merged 1 commit into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
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 theories/PFsection10.v
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ have odd_zeta_g: (zeta^\tau1 g == 1 %[mod 2])%C.
pose eW1 := [pred i : Iirr W1 | conjC_Iirr i < i]%N.
rewrite (bigID eW1) (reindex_inj (can_inj (@conjC_IirrK _ _))) /=.
set s1 := \sum_(i | _) _; set s2 := \sum_(i | _) _; suffices ->: s1 = s2.
by rewrite -mulr2n addrC -(mulr_natr _ 2) eqCmod_addl_mul ?rpred_sum.
by rewrite -mulr2n addrC -[X in X + 1]mulr_natr eqCmod_addl_mul ?rpred_sum.
apply/eq_big=> [i | i _].
rewrite (canF_eq (@conjC_IirrK _ _)) conjC_Iirr0 conjC_IirrK -leqNgt.
rewrite ltn_neqAle val_eqE -irr_eq1 (eq_sym i) -(inj_eq irr_inj) andbA.
Expand Down
2 changes: 1 addition & 1 deletion theories/PFsection7.v
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ Proof.
move=> [Zphi Rphi] [Zpsi Rpsi]; rewrite cfdot_vchar_r // (bigD1 (0 : 'I__)) //=.
rewrite addrC -irr0 (bigID [pred i | conjC_Iirr i < i]%N) /=.
set a1 := \sum_(i | _) _; set a2 := \sum_(i | _) _; suffices ->: a1 = a2.
rewrite -mulr2n -mulr_natr (rpredDl _ (dvdC_mull _ _)) //; last first.
rewrite -mulr2n -[_ *+ 2]mulr_natr (rpredDl _ (dvdC_mull _ _)) //; last first.
by rewrite rpred_sum // => i; rewrite rpredM ?Cint_cfdot_vchar_irr.
have /CintP[m1 ->] := Cint_cfdot_vchar_irr 0 Zphi.
have /CintP[m2 ->] := Cint_cfdot_vchar_irr 0 Zpsi.
Expand Down
Loading