summaryrefslogtreecommitdiff
path: root/test/regress/regress0/push-pop/real-as-int-incremental.smt2
blob: 155033d7db17fb7f82531437cf67cfb42662daf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; COMMAND-LINE: --incremental --solve-real-as-int -q
; EXPECT: sat
; EXPECT: sat
; EXPECT: sat
(set-logic ALL)
(declare-fun x () Real)
(declare-fun y () Real)

(assert (> x y))
(assert (> x 500.5))

(check-sat)

(push 1)
(declare-fun z () Real)
(assert (> z x))
(check-sat)
(pop 1)

(push 1)
(declare-fun w () Real)
(assert (> w x))
(check-sat)
(pop 1)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback