| 1 |
; COMMAND-LINE: --bool-to-bv=ite |
| 2 |
; COMMAND-LINE: --bool-to-bv=ite --bv-solver=bitblast-internal |
| 3 |
; EXPECT: sat |
| 4 |
(set-logic QF_BV) |
| 5 |
(declare-fun x2 () (_ BitVec 3)) |
| 6 |
(declare-fun x1 () (_ BitVec 3)) |
| 7 |
(declare-fun x0 () (_ BitVec 3)) |
| 8 |
(declare-fun b1 () Bool) |
| 9 |
(declare-fun b2 () Bool) |
| 10 |
(assert (not (bvult (bvudiv (bvudiv (bvudiv x0 x0) x1) x2) x1))) |
| 11 |
(assert (= #b000 x2)) |
| 12 |
(assert (=> b1 b2)) |
| 13 |
(assert (= x2 (ite (bvugt x0 x1) (bvadd x0 (_ bv1 3)) (bvadd x1 (_ bv1 3))))) |
| 14 |
(check-sat) |