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
Neither Z3 4.8.17 or 4.8.14 can prove this (in the time I was willing to wait), nor can 4.8.5 (an old version, but the only one that currently works well with Danfy, where this problem originated).
However, Z3 can easily prove (assert (not (= short ((_ int2bv 16) (bv2int short))))), without the synonym function.
Ultimately, I'm quite happy to accept that there are many integer/bitvector relationships Z3 won't be able to prove, but this seems like one it shouldn't have much trouble with.
The text was updated successfully, but these errors were encountered:
The following SMT-Lib input declares a function
nat_from_bv16
and provides an axiom asserting its equivalence tobv2int
.Neither Z3 4.8.17 or 4.8.14 can prove this (in the time I was willing to wait), nor can 4.8.5 (an old version, but the only one that currently works well with Danfy, where this problem originated).
However, Z3 can easily prove
(assert (not (= short ((_ int2bv 16) (bv2int short)))))
, without the synonym function.Ultimately, I'm quite happy to accept that there are many integer/bitvector relationships Z3 won't be able to prove, but this seems like one it shouldn't have much trouble with.
The text was updated successfully, but these errors were encountered: