-
Notifications
You must be signed in to change notification settings - Fork 33
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
SMTLib output has missing bindings #539
Comments
Managed to make it just a tiny bit smaller at 62 lines now:
The SMTLib output is also considerably smaller:
|
Thanks for the report. This seems to be a bug in SBV; some unexpected interaction. I'll investigate. |
I pushed in a fix that should address this issue. But it's rather finicky, so please do some testing and let me know if it solves the problem. Note that I ran into a z3 bug while working on this, and reported here: Z3Prover/z3#4565 If you run into that, I recommend downloading a version of z3 that's pre-Jun-24th of this year; this bug seems to have crept after that date into z3. |
Looking at the code again, this isn't quite fixed yet. Please delay testing. It'll need some more work. |
I pushed in changes that should address this issue. (And the z3 bug is fixed as well.) Can you give it a try and let me know if it all works fine? |
Holy moly, the code assembles SMTLib output as a string?! I was hoping it has an AST representation which gets coparsed into a string at the edges only... |
That rendering is precisely what I'd call the "edges." Is this causing you problems? |
No, it's just surprising. |
I can confirm that both my cut-down test case and my original program works with the fix in |
Thanks for the report. |
Sure, please file a new issue. There could always be bugs/performance issues. |
I am getting the following output from SBV:
Looking at the SMTLib output with
verbose = True
, I see that indeeds57
is not part of the output:Unfortunately, the only way I have of reproducing it at the moment is a 150-line module; bear in mind that this is already the result of a significant reduction effort, as the original code was much more complicated. Here is the minimised version with no external dependencies other than MTL/Transformers:
Tested with SBV 8.8 running on GHC 8.8.3.
The text was updated successfully, but these errors were encountered: