-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Small input doesn't terminate #5396
Comments
What happens if you don't have the Just to make sure you know: |
Thanks :)
I've removed the rlimit, it doesn't seem to affect the result.
The latter, I was running it on: https://rise4fun.com/Z3/slU9o Running it in Z3 directly with Is that expected behavior? The input I'm giving it seems pretty simple to solve. Removing the
|
Okay, so the "easy" answer is that some problems are hard for an SMT solver and some are easy -- the size of the instance doesn't mean if something will be hard or easy (I have 3 line files that can take weeks to solve, even though they only use 32-bit numbers). Your example creates two 128-bit values via Given your original instance (the one with the |
Alright, thank you very much. As you correctly assessed I don't have a lot of context in this space but this was very educational :) |
Given the condition |
So that's the more difficult part; I would guess that things are "going wrong" because of the One way to test this would be to declare |
int2bv and bv2int are not part of SMTLIB standards. It is generally fairly expensive to use. |
it does now |
Hey, thanks for reading.
Z3 doesn't terminate, at least not within minutes, on the following input:
Is this a bug or am I using it incorrectly?
The text was updated successfully, but these errors were encountered: