diff options
author | Chantal Keller <Chantal.Keller@lri.fr> | 2021-04-26 18:29:24 +0200 |
---|---|---|
committer | Chantal Keller <Chantal.Keller@lri.fr> | 2021-04-26 18:29:24 +0200 |
commit | f46800b1c69e687f5605cce88b037cb89d63b79a (patch) | |
tree | 47cad3ad39e8727a8e8db33d4c5d124f7b08b280 /unit-tests | |
parent | 3c16cd6919f2f44cf2732e0bcda88b91ddbbbcff (diff) | |
parent | cdadc5d338e3c00c4cd22a3a3d7197f71d4d7a44 (diff) | |
download | smtcoq-f46800b1c69e687f5605cce88b037cb89d63b79a.tar.gz smtcoq-f46800b1c69e687f5605cce88b037cb89d63b79a.zip |
Merge branch 'master' of github.com:smtcoq/smtcoq into coq-8.10
Diffstat (limited to 'unit-tests')
-rw-r--r-- | unit-tests/Tests_verit_tactics.v | 11 |
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. |