-
Notifications
You must be signed in to change notification settings - Fork 11
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
Mysterious bug on lists and pairs #36
Comments
Thank you for your feedback! This seems to be a bug indeed, unfortunately I have very little time these days to work on this. In any case, it seems you are encoding basic functions using By doing this, hoice will be able to use these functions as atoms, meaning it will be able to create lemmas that mention the If you do not do this, then the only atoms hoice can use are those that mention the constructors of your datatype. This makes for very, very weak lemmas. Be warned though that I hope my explanation is understandable, let me know if some points are not clear to you. Thank you again for your interest in hoice! |
I cannot reproduce the error on In any case, I don't see this problem with z3 4.8.4 and 4.8.7. With hoice's current version, the check-sat produces I tried switching |
By the combination of hoice 1.9.0 (the latest version) and z3 4.7.1, I reproduced the same error message. |
The following SMT2 code is not accepted by HoIce, probably by a bug.
I tried the following code on HoIce. (Sorry for this noisy and messy bug report!)
Passing the code above to HoIce under z3 4.7.1, I will unexpectedly get the following error.
Interestingly, when I just swap the two arguments of
inck
, I will get unsat.However, the expected answer is
sat
.The text was updated successfully, but these errors were encountered: