Skip to content

Commit

Permalink
Better fix for coq/coq#17964: use correct direction of assumption
Browse files Browse the repository at this point in the history
instead of automatically generated name
  • Loading branch information
SkySkimmer committed Sep 8, 2023
1 parent b06cf12 commit e78b257
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit e78b257

Please sign in to comment.