File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 2121(* SOFTWARE. *)
2222
2323(* -------------------------------------------------------------------- *)
24- From mathcomp Require Import all_ssreflect all_algebra zmodp.
25- (* ------- *) Require Import Arith ZArith word_ssrZ .
26- Require Psatz .
24+ From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint intdiv zmodp.
25+ From Coq Require Import Arith ZArith Lia .
26+ Require Import word_ssrZ .
2727
2828(* -------------------------------------------------------------------- *)
2929Set Implicit Arguments .
@@ -1083,8 +1083,8 @@ have Hn : (0 < 2 ^ Z.of_nat n)%Z.
10831083replace (-1 mod 2 ^ Z.of_nat n)%Z with (Z.ones (Z.of_nat n)); first last.
10841084+ rewrite Z.ones_equiv; elim_div => ?; cut (z = -1)%Z; Lia.nia.
10851085case: ssrnat.ltP => h.
1086- + apply: Z.ones_spec_low; Psatz. lia.
1087- apply: Z.ones_spec_high; Psatz. lia.
1086+ + apply: Z.ones_spec_low; lia.
1087+ apply: Z.ones_spec_high; lia.
10881088Qed .
10891089
10901090End WordLogicals.
@@ -1345,7 +1345,7 @@ move: {w w' s s' eq_size} (urepr w) (urepr w') (wcat_r s) (wcat_r s') (2%:R ^+ (
13451345rewrite /GRing.zero /GRing.add /GRing.mul /=.
13461346do 4 case/andP => /leZP ? /ltZP ?.
13471347move => h.
1348- cut (a = a'); Psatz. nia.
1348+ cut (a = a'); nia.
13491349Qed .
13501350
13511351Definition wcat {p} (s : p.-tuple n.-word) :=
Original file line number Diff line number Diff line change 2121(* SOFTWARE. *)
2222
2323(* -------------------------------------------------------------------- *)
24- From mathcomp Require Import all_ssreflect all_algebra .
25- (* ------- *) Require Import Arith ZArith.
24+ From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint intdiv .
25+ From Coq Require Import Arith ZArith.
2626
2727Set Implicit Arguments .
2828Unset Strict Implicit .
You can’t perform that action at this time.
0 commit comments