Debian Codegraph @

test/regress/cli/regress0/push-pop/incremental-subst-bug.cvc.smt2

raw
1 ; COMMAND-LINE: --incremental
2 ; EXPECT: sat
3 ; EXPECT: unsat
4 ; EXPECT: unsat
5 ; EXPECT: sat
6 ; EXPECT: sat
7 ; EXPECT: sat
8 ; EXPECT: sat
9 (set-logic ALL)
10 (declare-sort U 0)
11 (declare-fun x () U)
12 (declare-fun y () U)
13 (check-sat-assuming ( (not (= x y)) ))
14 (assert (= x y))
15 (check-sat-assuming ( (not (= x y)) ))
16 (declare-fun z () U)
17 (push 1)
18 (check-sat-assuming ( (not (= x y)) ))
19 (check-sat-assuming ( (not (= x z)) ))
20 (check-sat-assuming ( (not (= z x)) ))
21 (check-sat-assuming ( (= z x) ))
22 (pop 1)
23 (check-sat-assuming ( (= z x) ))