test/regress/cli/regress0/arith/issue1399.smt2
raw| 1 | (set-logic NIA) |
| 2 | (set-info :status sat) |
| 3 | |
| 4 | (define-fun findIdx ((y1 Int)(y2 Int)(k1 Int)) Int (div (* (- 7) (mod y1 (- 5))) 2)) |
| 5 | (declare-fun x1 () Int) |
| 6 | (declare-fun x2 () Int) |
| 7 | (declare-fun k () Int) |
| 8 | |
| 9 | (assert (not (and (=> (< x1 x2) (=> (< k x1) (= (findIdx x1 x2 k) 0))) |
| 10 | (=> (< x1 x2) (=> (> k x2) (= (findIdx x1 x2 k) 2))) |
| 11 | (=> (< x1 x2) (=> (and (> k x1) (< k x2)) (= (findIdx x1 x2 k) 1)))))) |
| 12 | (check-sat) |