You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import z3
a = z3.BitVec('a', 5)
b = z3.BitVec('b', 3)
cond = z3.simplify(z3.BV2Int(a) == z3.BV2Int(b))
The simplify call fails with:
z3.z3types.Z3Exception: b'Sorts (_ BitVec 5) and (_ BitVec 3) are incompatible'
possibly because it is trying to unwrap the two BV2Int calls without making sure the underlying BVs are the same length.
This reproduces with the 4.13.1 release (and later). It does not show up in 4.13.0.
The text was updated successfully, but these errors were encountered:
Running the following snippet of python code:
The simplify call fails with:
possibly because it is trying to unwrap the two BV2Int calls without making sure the underlying BVs are the same length.
This reproduces with the 4.13.1 release (and later). It does not show up in 4.13.0.
The text was updated successfully, but these errors were encountered: