aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChantal Keller <Chantal.Keller@lri.fr>2021-09-17 18:30:35 +0200
committerChantal Keller <Chantal.Keller@lri.fr>2021-09-17 18:30:35 +0200
commite777cf2a8aa3b35e7cc742458c0ab3094eb9ae85 (patch)
treeb91666e5dc28ff4131371f59ce0116ed7fa811ee
parent60a897604a27a867a68e582aa1279180e89c0735 (diff)
parent8b7d28932b95374142f727702cebba1b4dc9d789 (diff)
downloadsmtcoq-e777cf2a8aa3b35e7cc742458c0ab3094eb9ae85.tar.gz
smtcoq-e777cf2a8aa3b35e7cc742458c0ab3094eb9ae85.zip
Merge remote-tracking branch 'origin/coq-8.12' into coq-8.13
-rw-r--r--src/PropToBool.v2
-rw-r--r--unit-tests/Tests_verit_tactics.v6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/PropToBool.v b/src/PropToBool.v
index bbe1967..6d12c99 100644
--- a/src/PropToBool.v
+++ b/src/PropToBool.v
@@ -50,7 +50,7 @@ Ltac prop2bool :=
| bool =>
lazymatch y with
| true => fail
- | _ => rewrite <- eqb_true_iff
+ | _ => rewrite <- (eqb_true_iff x y)
end
| _ =>
lazymatch goal with
diff --git a/unit-tests/Tests_verit_tactics.v b/unit-tests/Tests_verit_tactics.v
index 16790f6..34b5dfd 100644
--- a/unit-tests/Tests_verit_tactics.v
+++ b/unit-tests/Tests_verit_tactics.v
@@ -1363,3 +1363,9 @@ Section Vauto.
Goal eqb_of_compdec HA a b \/ search b l.
Proof. verit_no_check. Qed.
End Vauto.
+
+
+Section PropToBool.
+ Goal (forall (x x0 : bool) (x1 x2 : list bool), x :: x1 = x0 :: x2 -> x = x0) -> true.
+ Proof. verit. Qed.
+End PropToBool.