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
We simply create a variable "x" and assert that it's greater than 0. But evaluating the model produces the answer 0. If we comment out the Z3_mk_fresh_const and instead produce our variable through Z3_mk_const we get a correct answer of 1.
This program works fine on 4.7.1, and I can't find a documented reason it would break on 4.8.x.
The text was updated successfully, but these errors were encountered:
I recently updated to z3 4.8.x and I've been having an issue with
Z3_mk_fresh_const
.This example program highlights the issue:
We simply create a variable "x" and assert that it's greater than 0. But evaluating the model produces the answer 0. If we comment out the
Z3_mk_fresh_const
and instead produce our variable throughZ3_mk_const
we get a correct answer of 1.This program works fine on 4.7.1, and I can't find a documented reason it would break on 4.8.x.
The text was updated successfully, but these errors were encountered: