summaryrefslogtreecommitdiff
path: root/test/regress/regress0/bv/bool-to-bv-ite.smt2
blob: de0ec889741d6e666e9fac3d77595ec86a1ce298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; COMMAND-LINE: --bool-to-bv=ite
; COMMAND-LINE: --bool-to-bv=ite --bv-solver=simple
; EXPECT: sat
(set-logic QF_BV)
(declare-fun x2 () (_ BitVec 3))
(declare-fun x1 () (_ BitVec 3))
(declare-fun x0 () (_ BitVec 3))
(declare-fun b1 () Bool)
(declare-fun b2 () Bool)
(assert (not (bvult (bvudiv (bvudiv (bvudiv x0 x0) x1) x2) x1)))
(assert (= #b000 x2))
(assert (=> b1 b2))
(assert (= x2 (ite (bvugt x0 x1) (bvadd x0 (_ bv1 3)) (bvadd x1 (_ bv1 3)))))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback