-
Notifications
You must be signed in to change notification settings - Fork 126
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
:prove with yices fails for properties involving (^^) with large exponents #444
Comments
This example once again causes the Cryptol REPL to exit, probably because (since SBV version 7.5, when the fix for LeventErkok/sbv#335 was published) SBV now throws a different IOException instead of calling Here's another example I just found that causes the Cryptol REPL to exit with a very similar error message:
|
brianhuffman
pushed a commit
that referenced
this issue
Nov 21, 2019
brianhuffman
pushed a commit
that referenced
this issue
Dec 16, 2019
brianhuffman
pushed a commit
that referenced
this issue
Dec 17, 2019
Revert "Add regression test for #444."
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Interestingly, for odd bitvectors
x
,x ^^ -1
calculates the multiplicative inverse! Try it, it's cool!Anyway,
yices
seems to be pretty good at proving this fact for bit-widths less than 32. But at type[32]
, we get such an unexpected error that cryptol exits the REPL. Ifyices
can't handle proofs like this, that's OK, but we should at least try to handle the error message gracefully, and stay in the REPL.With
z3
we also see problems for large bit-widths (>25), but here the message is caught and reported properly, and we stay in the REPL.The text was updated successfully, but these errors were encountered: