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

Greatly reduce the compilation time of src/Arithmetic/BarrettReduction.v #1919

Merged
merged 1 commit into from
Jun 4, 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 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
Loading