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

Better fix for coq/coq#17964: use correct direction of assumption #80

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion BigQ/QMake.v
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Module Make (NN:NType)(ZZ:ZType)(Import NZ:NType_ZType NN ZZ) <: QType.
rewrite strong_spec_check_int.
qsimpl.
generalize (Zgcd_div_pos (ZZ.to_Z p) (NN.to_Z q)). lia.
rewrite e in *.
replace (NN.to_Z q) with 0%Z in * by (symmetry; assumption).
rewrite Zdiv_0_l in *; auto with zarith.
apply Zgcd_div_swap0; lia.
(* Gt *)
Expand Down