2
이상적으로 비트 벡터로 표시된 두 개의 숫자가 가능하지만 그럴 수는 없습니다. 일부 코드의 오류 또는 뭔가 다른이 있으면 알려주세요또는 z3Py의 비트 벡터
line1 = BitVec('line1', 1)
line2 = BitVec('line2', 1)
s = Solver()
s.add(Or(line1, line2) == 0)
print s.check()
주어진 오류가 나는 그것을 이해하거나 부울 변수 만 수행 할 수 있습니다이 오류에서
error: 'type error'
WARNING: invalid function application for or, sort mismatch on argument at position 1, expected Bool but given (_ BitVec 1)
WARNING: (declare-fun or (Bool Bool) Bool) applied to:
line1 of sort (_ BitVec 1)
line2 of sort (_ BitVec 1)
입니다. 내 질문은 여기 방법 또는 BitVectors