summaryrefslogtreecommitdiff
path: root/test/regress/regress0/smtlib/get-unsat-assumptions.smt2
blob: 7a8113d8fec0c1a1b25d072fca8cd65ac1a3e1be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; EXPECT: unsat
; EXPECT: (x x)
; SCRUBBER: sed -e 's/a[1-2]/x/g'
(set-option :produce-unsat-assumptions true)
(set-logic QF_LIA)
(declare-const a1 Bool)
(declare-const a2 Bool)
(declare-const x Int)
(assert (= a1 (= x 5)))
(assert (= a2 (not (= x 5))))
(check-sat-assuming (a1 a2))
(get-unsat-assumptions)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback