aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChantal Keller <Chantal.Keller@lri.fr>2021-04-28 14:09:03 +0200
committerChantal Keller <Chantal.Keller@lri.fr>2021-04-28 14:09:03 +0200
commit34f32c6ac00a9c385baf65861d367e0e1006c1ab (patch)
tree9cdd1367b57ff4d69dbb1beac1c1caa32af0bac6
parentcdadc5d338e3c00c4cd22a3a3d7197f71d4d7a44 (diff)
downloadsmtcoq-34f32c6ac00a9c385baf65861d367e0e1006c1ab.tar.gz
smtcoq-34f32c6ac00a9c385baf65861d367e0e1006c1ab.zip
prop2bool_hyps insensitive to parenthesis
-rw-r--r--src/PropToBool.v4
-rw-r--r--src/versions/standard/Tactics_standard.v2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/PropToBool.v b/src/PropToBool.v
index 8dc970f..1d85bb0 100644
--- a/src/PropToBool.v
+++ b/src/PropToBool.v
@@ -211,8 +211,8 @@ Ltac prop2bool_hyp H :=
].
Ltac prop2bool_hyps Hs :=
- match Hs with
- | (?Hs, ?H) => try prop2bool_hyp H; [ .. | prop2bool_hyps Hs]
+ lazymatch Hs with
+ | (?Hs1, ?Hs2) => prop2bool_hyps Hs1; [ .. | prop2bool_hyps Hs2]
| ?H => try prop2bool_hyp H
end.
diff --git a/src/versions/standard/Tactics_standard.v b/src/versions/standard/Tactics_standard.v
index 232ae54..61e663a 100644
--- a/src/versions/standard/Tactics_standard.v
+++ b/src/versions/standard/Tactics_standard.v
@@ -23,7 +23,7 @@ Ltac get_hyps_acc acc k :=
match goal with
| [ H : ?P |- _ ] =>
let T := type of P in
- match T with
+ lazymatch T with
| Prop =>
lazymatch P with
| id _ => fail