[SMT-LIB] Assign value to a bitvector?

Jun Koi junkoi2004 at gmail.com
Tue Aug 23 13:36:17 EDT 2011


hi,

In SMTLIB2, I want to assign a value to a bitvector variable, like below.

But Z3 reports error "invalid function application, sort mismatch on
argument at position 2 in line 3".

How can I fix this error?

Thanks.
-------
(set-logic QF_BV)
(declare-fun a () (_ BitVec 32))
(assert (= a #x0a))
(check-sat)


More information about the SMT-LIB mailing list