| 1 |
; COMMAND-LINE: --iand-mode=value |
| 2 |
; COMMAND-LINE: --iand-mode=sum --bvand-integer-granularity=1 --finite-model-find |
| 3 |
; COMMAND-LINE: --iand-mode=bitwise |
| 4 |
; COMMAND-LINE: --iand-mode=bitwise --bvand-integer-granularity=1 |
| 5 |
; COMMAND-LINE: --iand-mode=bitwise --bvand-integer-granularity=3 |
| 6 |
; COMMAND-LINE: --iand-mode=bitwise --bvand-integer-granularity=4 |
| 7 |
; EXPECT: unsat |
| 8 |
(set-logic QF_NIA) |
| 9 |
(set-info :status unsat) |
| 10 |
(declare-fun x () Int) |
| 11 |
(declare-fun y () Int) |
| 12 |
|
| 13 |
(assert (>= x 0)) |
| 14 |
(assert (>= y 0)) |
| 15 |
|
| 16 |
(assert (<= (+ x y) 32)) |
| 17 |
|
| 18 |
(assert (or |
| 19 |
(>= ((_ iand 5) x y) 32) |
| 20 |
(>= ((_ iand 6) x y) 32))) |
| 21 |
|
| 22 |
(check-sat) |