-
Notifications
You must be signed in to change notification settings - Fork 7
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
Incremental formula with two unsat #23
Comments
I think there are two issues with Mariposa that you have stumbled upon. Pre-processingMariposa's pre-processing makes an implicit assumption about how SAT restultFor Mariposa's use case so far (Dafny/F*/Verus), SAT is an unexpected result. These queries always get an unknown upon failure, since undecidable theories are involved. I have not tested it extensively, but Mariposa will likely run into weird issues when the query is supposed to return SAT. |
Let me give you some background or what I am trying to do, and hopefully you can help me decide if mariposa could help me. My encoding represents all executions of a program: SAT means some execution has a bug, UNSAT the program is correct. I am fine with just focusing on safe programs if that means mariposa could help me. The encoding is generated in an iterative way (in a CEGAR fashion). I start with a large encoding
Hopefully
My problem is that for some iterations the SMT is really fast, and for other it is really slow. I am trying to understand why there is so much different between solving If I understood you correctly, removing the intermediate
What I wonder if the cases where I see slow iterations (this does not happen for all programs I analyze) corresponds to cases where mariposa would say the encoding is instable and if I can somehow use this to improve my encoding. |
What kinds of theories do your formulas use? |
Bit vectors |
./src/proj_wizard.py create
fails if I have the attached formula in my project ticketlock-opt.ll.zipThere are several calls to
check-sat
. The first few ones are sat, while the last two are unsat. If I remove the latestcheck-sat
, then./src/proj_wizard.py create
works correctly.Is it expected that the formula has a single unsat?
The text was updated successfully, but these errors were encountered: