summaryrefslogtreecommitdiff
path: root/test/regress/regress0/bug480.smt2
blob: 0dc366a64f44dca1008eb16dd63eeffd2ab42abb (plain)
1
2
3
4
5
6
7
8
9
10
; EXPECT: sat
; EXPECT: ((foo true) (bar false) (baz true))
(set-logic QF_LIA)
(set-option :produce-assignments true)
(declare-fun x () Int)
(declare-fun y () Int)
(assert (! (or (! (= x (+ y 5)) :named foo) (! (= x (- y 5)) :named bar)) :named baz))
(assert (and (> x 0) (<= y 5)))
(check-sat)
(get-assignment)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback