Debian Codegraph @

test/regress/cli/regress0/push-pop/units.cvc.smt2

raw
1 ; COMMAND-LINE: --incremental
2 ; EXPECT: sat
3 ; EXPECT: sat
4 ; EXPECT: unsat
5 ; EXPECT: sat
6 ; EXPECT: sat
7 ; EXPECT: unsat
8 ; EXPECT: sat
9 (set-logic ALL)
10 (declare-fun x () Bool)
11 (declare-fun y () Bool)
12 (assert (or x y))
13 (check-sat)
14 (push 1)
15 (assert (not x))
16 (check-sat)
17 (push 1)
18 (assert (not y))
19 (check-sat)
20 (pop 1)
21 (check-sat)
22 (pop 1)
23 (check-sat)
24 (push 1)
25 (push 1)
26 (assert x)
27 (assert (not x))
28 (check-sat)
29 (pop 1)
30 (pop 1)
31 (check-sat)