2013-07-18 19 views

回答

0

我不知道您的公式的預期的語義是什麼,但直覺上似乎是你的定義的is_in可能是罪魁禍首:

(define-fun is_in ((e (_ BitVec 9)) (S (_ BitVec 9))) Bool 
    ;; True if e is an element of the "set" S. 
    (= (bvand e S) e)) 

約束(= (bvand e S) e))意味着當S等於這個函數只能返回true。按照函數的名稱,我希望定義爲(not (= (bvand e S) Empty))