-
Notifications
You must be signed in to change notification settings - Fork 84
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
Harness with concrete values seems stuck #2670
Comments
This succeeds in ~20 seconds with cadical:
|
Thanks for the data, @zhassan-aws ! However, since we're passing in concrete values, I'd expect this example to verify in less than one second, regardless of the solver. Maybe we're missing a case for constant propagation? |
Fixed in diffblue/cbmc#7933. With that change, verification time now is reported to be 0.35 seconds. |
That's great news! Thanks @tautschnig 😄 |
Fix is now merged and should be part of the next CBMC release. |
Fix was included with #2821. |
I tried this code:
Full example here:
calculator.rs.txt
using the following command line invocation:
with Kani version: 0.33.0
I expected to see this happen:
SUCCESSFUL
verification after a few seconds.Instead, this happened:
Kani seems to be stuck after the runtime postprocess step...
What's interesting about this problem is that, if we remove the
If { ... }
variant in theExpr
enum (and the code that matches on that variant incalculate
), then it verifies in less than a second which is what we'd expect with concrete values.I don't think this is a duplicate of #1982 because they're different (slowdown in this case is >10x), but root cause may be related.
The text was updated successfully, but these errors were encountered: