summaryrefslogtreecommitdiff
path: root/test/regress/regress0/bv
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-05-03 22:50:41 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2018-05-03 22:50:41 -0700
commitcbfcc24f0da280e21de5118cc2c0c6a18a71a629 (patch)
tree649c5f5c49aec6565e76df2a8e9c46f04e9bb5ee /test/regress/regress0/bv
parent8a3f9efe5856fc07fbc99b9b606397a5079ddd78 (diff)
Refactor bv-intro-pow2 preprocessing pass. (#1851)
Diffstat (limited to 'test/regress/regress0/bv')
-rw-r--r--test/regress/regress0/bv/test-bv_intro_pow2.smt214
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress0/bv/test-bv_intro_pow2.smt2 b/test/regress/regress0/bv/test-bv_intro_pow2.smt2
new file mode 100644
index 000000000..96779d3a6
--- /dev/null
+++ b/test/regress/regress0/bv/test-bv_intro_pow2.smt2
@@ -0,0 +1,14 @@
+; COMMAND-LINE: --bv-intro-pow2 --no-check-proofs --no-check-unsat-cores
+(set-info :smt-lib-version 2.6)
+(set-logic QF_BV)
+(set-info :status unsat)
+(declare-fun x () (_ BitVec 32))
+(declare-fun y () (_ BitVec 32))
+(declare-fun z () (_ BitVec 32))
+(assert (= z (bvadd x y)))
+(assert (distinct x y))
+(assert (and (distinct x (_ bv0 32)) (= (bvand x (bvsub x (_ bv1 32))) (_ bv0 32))))
+(assert (and (distinct y (_ bv0 32)) (= (bvand y (bvsub y (_ bv1 32))) (_ bv0 32))))
+(assert (and (distinct z (_ bv0 32)) (= (bvand z (bvsub z (_ bv1 32))) (_ bv0 32))))
+(check-sat)
+(exit)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback