-
Notifications
You must be signed in to change notification settings - Fork 252
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
Extend SMT backend to use string theory #44
Comments
I've pushed a first attempt at this. I did not go through the Java front-end though, but by using some sort uninterpreted functions in the C front-end. This was because I wasn't able to get the Java part working (after discussing also with @martin-cs). I'm attaching a simple example of how the thing works so far. You can run it (from my fork) like this:
Then you can run cvc4 on the output, and it gives the expected result (unsat):
A lot needs to be done of course, and I've only tested a subset of the functions mentioned in |
I've continued along the lines discussed with martin. I've added support for Note I'm now working on a As usual, everything is very unstable and likely to crash in many different |
I pushed a couple more tests for strings. They are still tiny, but already |
I also tried Z3 with built-in string support (i.e. running it on the .smt2 file generated with |
Indeed, as discussed the INT<->BV conversion that is needed for integrating Suggestions welcome. In particular, is there a way to use unbounded integers |
quick update. I'm now experimenting with the PASS quantifier instantiation |
Extending Z3str2 with bit-vector constraints: There is a paper at the upcoming SMT'16 about this. Unfortunately, I haven't been able to find the solver and/or the benchmarks online. I'm reading the thesis now |
I have made some progress with my PASS-like prototype (at |
Added a bunch of small benchmarks from Z3str2-bv, whose source code in now on bitbucket: Unfortunately, the solver seems to crash quite often for me |
Missed includes from previous PR
Closing this as now a sub-goal of #6134. |
start with CVC4, Z3
links with front end via #45 and #46
The text was updated successfully, but these errors were encountered: