summaryrefslogtreecommitdiff
path: root/lib/coq
diff options
context:
space:
mode:
authorBrian Campbell2019-05-22 17:55:35 +0100
committerBrian Campbell2019-05-22 17:55:56 +0100
commit3be44958890f9ee9e45f92e379d562d170869bf0 (patch)
tree0c6279f69c8c29f2260ec70147fca698b54dafee /lib/coq
parent446931aa3eff319d37b8a98fdf1e877dde4514dc (diff)
Coq: tweak disjunctions tactic with subst to support more constraints
Diffstat (limited to 'lib/coq')
-rw-r--r--lib/coq/Sail2_values.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/coq/Sail2_values.v b/lib/coq/Sail2_values.v
index 61e2c6a4..ab7ed07e 100644
--- a/lib/coq/Sail2_values.v
+++ b/lib/coq/Sail2_values.v
@@ -1447,7 +1447,8 @@ Ltac main_solver :=
| match goal with |- context [Z.mul] => nia end
(* If we have a disjunction from a set constraint on a variable we can often
solve a goal by trying them (admittedly this is quite heavy handed...) *)
- | let aux x :=
+ | subst;
+ let aux x :=
is_var x;
intuition (subst;auto)
in