aboutsummaryrefslogtreecommitdiffstats
path: root/unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/Tests_verit_tactics.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/unit-tests/Tests_verit_tactics.v b/unit-tests/Tests_verit_tactics.v
index 73b59f4..d1c57f4 100644
--- a/unit-tests/Tests_verit_tactics.v
+++ b/unit-tests/Tests_verit_tactics.v
@@ -1238,3 +1238,14 @@ Section Issue78.
Proof. verit. Qed.
End Issue78.
+
+
+Section SearchApp.
+ Variable search : Z -> list Z -> bool.
+ Hypothesis search_app : forall (x: Z) (l1 l2: list Z),
+ search x (l1 ++ l2) = orb (search x l1) (search x l2).
+
+ Lemma search_lemma : forall (x: Z) (l1 l2 l3: list Z),
+ search x (l1 ++ l2 ++ l3) = search x (l3 ++ l2 ++ l1).
+ Proof. verit. Qed.
+End SearchApp.