I want to transform the bitvector theory into int theory in Z3, and when encounter the "bvnot" operation, I relpace it with "not", here is a simple example:
(assert (= (bvnot (ite (bvsle t0 #x0a) #b1 #b0)) #b1)) and after transformation : (assert (= (not (ite (< t0 10) 1 0)) 1))
However, Z3 reported error with this assertion: invalid function application for not, sort mismatch on argument at position 1, expected Bool but given Int
How can I convert int sort to boolean sort? Tanhks!
Jin