-
Notifications
You must be signed in to change notification settings - Fork 36
Solver returns valid example as counter-example #480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks. this is definitely an issue; and I suspect it might be z3's fault. Though it needs to be debugged. Any chance you can find a "smaller" instance? By smaller, I mean the following. If you run with:
SBV will print what it sends to the solver. The shorter that trace, the better. |
For now I made it a bit smaller by removing one insert:
|
Thanks! That helps; though it'd be great to shrink it further. Eventually, if we determine this is an issue with z3, we'll file it as a bug report with z3 folks with the generated trace; and it'd be really hard for them to decipher what's wrong. There must be a reason why it's failing and if we can precisely identify the root cause, I trust we might be able to find a much shorter trace. I'll be looking into it as well, but you have the best insight into the problem, so I'm hoping you'll get there before I do! |
Filed an issue with z3: Z3Prover/z3#2445 They're quite responsive to bug reports, so I expect they'll fix this upstream quite soon. |
@palas This is now working just fine with the latest z3! |
When testing this implementation of symbolic sets using the master of Z3 as of commit 04e6e0b, I get the following output in ghci:
The text was updated successfully, but these errors were encountered: