summaryrefslogtreecommitdiff
path: root/test/regress/regress0/bv/test-bv_intro_pow2.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/bv/test-bv_intro_pow2.smt2')
-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