1
我有這個下面的代碼Smtlib麻煩代碼
(set-logic QF_LIA)
(declare-fun w() Int)
(declare-fun x() Int)
(declare-fun y() Int)
(declare-fun z() Int)
(assert (> x y))
(assert (> y z))
(push 1)
(assert (> z x))
(check-sat) ; unsat
(get-info :statistics)
(pop 1)
(push 1)
(check-sat (= x w)) ; sat
代碼應在第一(檢查-SAT)返回不飽和度,坐在第二(檢查-SAT),但我得到未知。
有人可以告訴我什麼是問題。我使用Windows 7,jSMTLIB使用cygwin的
感謝 賽義夫