summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/regress/regress0/quantifiers/Makefile.am6
-rw-r--r--test/regress/regress0/quantifiers/qbv-simple-2vars-vo.smt215
-rw-r--r--test/regress/regress0/quantifiers/qbv-test-invert-mul.smt29
3 files changed, 29 insertions, 1 deletions
diff --git a/test/regress/regress0/quantifiers/Makefile.am b/test/regress/regress0/quantifiers/Makefile.am
index cdf2ec9bc..cb6ed687e 100644
--- a/test/regress/regress0/quantifiers/Makefile.am
+++ b/test/regress/regress0/quantifiers/Makefile.am
@@ -89,7 +89,11 @@ TESTS = \
cbqi-sdlx-fixpoint-3-dd.smt2 \
qbv-simp.smt2 \
psyco-001-bv.smt2 \
- bug822.smt2
+ bug822.smt2
+
+# FIXME: solvable with --cbqi-bv
+#qbv-test-invert-mul.smt2
+#qbv-simple-2vars-vo.smt2
# regression can be solved with --finite-model-find --fmf-inst-engine
# set3.smt2
diff --git a/test/regress/regress0/quantifiers/qbv-simple-2vars-vo.smt2 b/test/regress/regress0/quantifiers/qbv-simple-2vars-vo.smt2
new file mode 100644
index 000000000..f38625fd8
--- /dev/null
+++ b/test/regress/regress0/quantifiers/qbv-simple-2vars-vo.smt2
@@ -0,0 +1,15 @@
+(set-logic BV)
+(set-info :status sat)
+(declare-fun a () (_ BitVec 32))
+(declare-fun b () (_ BitVec 32))
+(declare-fun c () (_ BitVec 32))
+
+(assert (not (= a #x00000000)))
+
+; this is sensitive to variable ordering (try changing x and y)
+(assert (forall ((x (_ BitVec 32)) (y (_ BitVec 32))) (or
+(not (= (bvmul x y) #x0000000A))
+(not (= (bvadd y a) #x00000010))
+)))
+
+(check-sat)
diff --git a/test/regress/regress0/quantifiers/qbv-test-invert-mul.smt2 b/test/regress/regress0/quantifiers/qbv-test-invert-mul.smt2
new file mode 100644
index 000000000..bea19a054
--- /dev/null
+++ b/test/regress/regress0/quantifiers/qbv-test-invert-mul.smt2
@@ -0,0 +1,9 @@
+(set-logic BV)
+(set-info :status sat)
+(declare-fun a () (_ BitVec 32))
+(declare-fun b () (_ BitVec 32))
+(declare-fun c () (_ BitVec 32))
+
+(assert (forall ((x (_ BitVec 32))) (not (= (bvmul x a) b))))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback