test/regress/cli/regress0/push-pop/real-as-int-incremental.smt2
raw| 1 | ; COMMAND-LINE: --incremental --solve-real-as-int |
| 2 | ; EXPECT: sat |
| 3 | ; EXPECT: sat |
| 4 | ; EXPECT: sat |
| 5 | (set-logic ALL) |
| 6 | (declare-fun x () Real) |
| 7 | (declare-fun y () Real) |
| 8 | |
| 9 | (assert (> x y)) |
| 10 | (assert (> x 500.5)) |
| 11 | |
| 12 | (check-sat) |
| 13 | |
| 14 | (push 1) |
| 15 | (declare-fun z () Real) |
| 16 | (assert (> z x)) |
| 17 | (check-sat) |
| 18 | (pop 1) |
| 19 | |
| 20 | (push 1) |
| 21 | (declare-fun w () Real) |
| 22 | (assert (> w x)) |
| 23 | (check-sat) |
| 24 | (pop 1) |