Closed micha-78 closed 4 years ago
Thank you very much for the quick fix @NikolajBjorner - problem is solved in nightly. Do you already have a schedule for a post-4.8.7-release containing the fix? We prefer using a stable release of z3 instead of a nightly build in production.
Would be good to address some of the arithmetic issues that are pending (and strings if possible). Albeit, no release is going to be perfect so based on your request I could set it off on next Monday (during a flight).
For us, it would be great to have a release soon - however, if the code is not ready for a release yet, we will wait until it is, so do not rush it if you raise concerns about a quick release.
@NikolajBjorner Could you please give us an update on how the status currently is? Are there still many bugs you plan to resolve before pushing a release?
Hi there,
we've been running into rather strange results when using Z3 to simplify some formulas. We've broken it down to a very simple example - to simplify the expression
a==0 || b==0 || b==0
Clearly, this is the same as omitting the last (duplicate) term, i.e.,a==0 || b==0
When we try to simplify this with https://rise4fun.com/z3, everything is fine: https://rise4fun.com/Z3/MDlO
However, when using the Java API, ctx-solver-simplify generates an invalid result, while simplify or ctx-simplify give the expected result.
Here is our code:
The output:
We tried 4.8.5 and 4.8.7, both versions show this behaviour.
Is this a problem with ctx-solver-simplify, or is there some problem with our code?
Thank you very much in advance!