summaryrefslogtreecommitdiff
path: root/test/regress/regress0/push-pop/units.cvc.smt2
blob: 7d1feadf49ef03e4e307785f6dfd98d6020ec517 (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
25
26
27
28
29
30
31
; COMMAND-LINE: --incremental
; EXPECT: sat
; EXPECT: sat
; EXPECT: unsat
; EXPECT: sat
; EXPECT: sat
; EXPECT: unsat
; EXPECT: sat
(set-logic ALL)
(declare-fun x () Bool)
(declare-fun y () Bool)
(assert (or x y))
(check-sat)
(push 1)
(assert (not x))
(check-sat)
(push 1)
(assert (not y))
(check-sat)
(pop 1)
(check-sat)
(pop 1)
(check-sat)
(push 1)
(push 1)
(assert x)
(assert (not x))
(check-sat)
(pop 1)
(pop 1)
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback