Skip to content

Commit

Permalink
Merge pull request #58 from Tragicus/pr1229
Browse files Browse the repository at this point in the history
adapt to MC#1229
  • Loading branch information
CohenCyril authored Aug 14, 2024
2 parents e1eb71e + 2644baf commit b21f200
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions theories/BGappendixC.v
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,9 @@ have [q_gt4 | q_le4] := ltnP 4 q.
have q3: q = 3%N by apply/eqP; rewrite eqn_leq qgt2 andbT -ltnS -(odd_ltn 5).
rewrite (cardsD1 1) E_1 ltnS card_gt0; apply/set0Pn => /=.
pose f (c : 'F_p) : {poly 'F_p} := 'X * ('X - 2%:R%:P) * ('X - c%:P) + ('X - 1).
have fc0 c: (f c).[0] = -1 by rewrite !hornerE /= !hornerE.
have fc2 c: (f c).[2%:R] = 1 by rewrite !(subrr, hornerE) /= addrK.
have fc0 c: (f c).[0] = -1 by rewrite !hornerE /= !hornerE; apply/val_inj.
have fc2 c: (f c).[2%:R] = 1.
by rewrite !(subrr, hornerE) /= addrK; apply/val_inj.
have /existsP[c nz_fc]: [exists c, ~~ [exists d, root (f c) d]].
have nz_f_0 c: ~~ root (f c) 0 by rewrite /root fc0 oppr_eq0.
rewrite -negb_forall; apply/negP=> /'forall_existsP/fin_all_exists[/= rf rfP].
Expand Down

0 comments on commit b21f200

Please sign in to comment.