summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrian Campbell2019-03-05 15:13:15 +0000
committerBrian Campbell2019-03-05 15:13:15 +0000
commit98f447e1ca70999350dac4b7a0d3fbce5c64071b (patch)
tree322039369b442f03aa82fee1a3d2fb246f70eb5b /lib
parent701b188b6f17d9f54480654e5959c606a8947c88 (diff)
Coq: firstorder is better at the boolean goals
Diffstat (limited to 'lib')
-rw-r--r--lib/coq/Sail2_values.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/coq/Sail2_values.v b/lib/coq/Sail2_values.v
index ba94a237..fa40e01a 100644
--- a/lib/coq/Sail2_values.v
+++ b/lib/coq/Sail2_values.v
@@ -1213,8 +1213,9 @@ prepare_for_solver;
constructor; intros l r H1 H2;
solve [exists l; destruct l; intuition | exists r; destruct l; intuition]
end
- | match goal with |- context [@eq _ _ _] =>
- constructor; intuition
+ | match goal with |- context [@eq bool _ _] =>
+ (* Don't use auto for the fallback to keep runtime down *)
+ firstorder fail
end
| constructor; idtac "Unable to solve constraint"; dump_context; fail
].