summaryrefslogtreecommitdiff
path: root/test/regress/regress0/smtlib/reset-assertions-global.smt2
blob: f6e2aaed28786eb85e90ca381c8d2ebe26e68165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; EXPECT: unsat
; EXPECT: sat
; EXPECT: unsat
(set-option :global-declarations true)
(set-logic QF_BV)
(set-option :incremental true)
(declare-fun x2 () (_ BitVec 3))
(declare-fun x1 () (_ BitVec 3))
(declare-fun x0 () (_ BitVec 3))
(assert (bvult (bvudiv (bvudiv (bvudiv x0 x0) x1) x2) x1))
(assert (= #b000 x2))
(check-sat)
(reset-assertions)
(assert (= x2 x1))
(check-sat)
(reset-assertions)
(assert (distinct x1 x1))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback