Skip to content

Commit

Permalink
Greatly reduce the compilation time of src/Arithmetic/BarrettReductio…
Browse files Browse the repository at this point in the history
…n.v. (#1919)
  • Loading branch information
ppedrot committed Jun 4, 2024
1 parent ea55d04 commit 80141fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arithmetic/BarrettReduction.v
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Section Generic.
rewrite xt_correct, q1_correct, q3_correct by auto with lia.
assert (exists cond : bool, ((mu * (x / b^(k-1))) / b^(k+1)) = x / M + (if cond then -1 else 0)) as Hq3.
{ destruct q_nice_strong with (b:=b) (k:=k) (m:=mu) (offset:=1) (a:=x) (n:=M) as [cond Hcond];
eauto using Z.lt_gt with zarith. }
eauto 2 using Z.lt_gt with zarith. }
eauto using r_correct with lia.
Qed.
End Generic.
Expand Down

0 comments on commit 80141fa

Please sign in to comment.