summaryrefslogtreecommitdiff
path: root/test/regress/regress0/quantifiers/array-unsat-simp3.smt2
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-06-11 16:28:23 +0000
committerMorgan Deters <mdeters@gmail.com>2012-06-11 16:28:23 +0000
commit3378e253fcdb34c753407bb16d08929da06b3aaa (patch)
treedb7c7118dd0d1594175b56866f845b42426ae0a7 /test/regress/regress0/quantifiers/array-unsat-simp3.smt2
parent42794501e81c44dce5c2f7687af288af030ef63e (diff)
Merge from quantifiers2-trunkmerge branch.
Adds TheoryQuantifiers and TheoryRewriteRules, QuantifiersEngine, and other infrastructure. Adds theory instantiators to many theories. Adds the UF strong solver.
Diffstat (limited to 'test/regress/regress0/quantifiers/array-unsat-simp3.smt2')
-rw-r--r--test/regress/regress0/quantifiers/array-unsat-simp3.smt221
1 files changed, 21 insertions, 0 deletions
diff --git a/test/regress/regress0/quantifiers/array-unsat-simp3.smt2 b/test/regress/regress0/quantifiers/array-unsat-simp3.smt2
new file mode 100644
index 000000000..40e07ada7
--- /dev/null
+++ b/test/regress/regress0/quantifiers/array-unsat-simp3.smt2
@@ -0,0 +1,21 @@
+(set-logic AUFLIA)
+(set-info :smt-lib-version 2.0)
+(set-info :category "crafted")
+(set-info :status unsat)
+(declare-sort Index 0)
+(declare-sort Element 0)
+(declare-sort Array_uf 0)
+(declare-fun store_uf (Array_uf Index Element) Array_uf)
+(declare-fun select_uf (Array_uf Index) Element)
+(declare-fun a1 () Array_uf)
+(declare-fun e1 () Element)
+(declare-fun e2 () Element)
+(declare-fun i1 () Index)
+(declare-fun i2 () Index)
+(assert (forall ((?a Array_uf) (?i Index) (?e Element)) (= (select_uf (store_uf ?a ?i ?e) ?i) ?e)))
+(assert (forall ((?a Array_uf) (?i Index) (?j Index) (?e Element)) (or (= ?i ?j)(= (select_uf (store_uf ?a ?i ?e) ?j) (select_uf ?a ?j)))))
+(assert (forall ((?a Array_uf) (?b Array_uf)) (=> (forall ((?i Index)) (= (select_uf ?a ?i) (select_uf ?b ?i))) (= ?a ?b))))
+(assert (not (= i1 i2)))
+(assert (not (= (store_uf (store_uf a1 i1 e1) i2 e2) (store_uf (store_uf a1 i2 e2) i1 e1))))
+(check-sat)
+(exit)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback