Skip to content

Commit

Permalink
Stop relying on replace by automatic assumption-based solving
Browse files Browse the repository at this point in the history
Before coq/coq#17964 `replace foo with bar by tac` actually means
`replace foo with bar by first [assumption | symmetry; assumption | tac]`.
  • Loading branch information
SkySkimmer committed Sep 8, 2023
1 parent 38faaaa commit f34bf04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BigQ/QMake.v
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.
replace (NN.to_Z q) with 0%Z in * by assumption.
rewrite e in *.
rewrite Zdiv_0_l in *; auto with zarith.
apply Zgcd_div_swap0; lia.
(* Gt *)
Expand Down

0 comments on commit f34bf04

Please sign in to comment.