diff options
Diffstat (limited to 'lib/coq')
| -rw-r--r-- | lib/coq/Sail2_values.v | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/coq/Sail2_values.v b/lib/coq/Sail2_values.v index ab7ed07e..04fc3413 100644 --- a/lib/coq/Sail2_values.v +++ b/lib/coq/Sail2_values.v @@ -1360,7 +1360,14 @@ tauto. Qed. Ltac solve_euclid := -repeat match goal with |- context [ZEuclid.modulo ?x ?y] => +repeat match goal with +| |- context [ZEuclid.modulo ?x ?y] => + specialize (ZEuclid.div_mod x y); + specialize (ZEuclid.mod_always_pos x y); + generalize (ZEuclid.modulo x y); + generalize (ZEuclid.div x y); + intros +| |- context [ZEuclid.div ?x ?y] => specialize (ZEuclid.div_mod x y); specialize (ZEuclid.mod_always_pos x y); generalize (ZEuclid.modulo x y); |
