-
Notifications
You must be signed in to change notification settings - Fork 267
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
Hang with dafny verify
on Std
#5088
Comments
dafny verify
on Std.Strings.ParametricConversion.OfNat
with proof dependencies enableddafny verify
on Std.Strings.ParametricConversion.OfNat
I think I have a partial understanding of why this bug occurs. It occurs when using Dafny is waiting for all the assertion batches to complete, but Boogie is skipping some of them, without telling Dafny, so Dafny keeps waiting. If you set a verification time limit and wait for that to pass, does it return an internal error? If yes that would confirm the above. I'm inclined to remove support for |
Yep, I think you're right. I do get an internal error when adding a time limit. I like the ability to use wildcards to limit to everything in a given module, or even a subset of definitions in a module. Do you have any plans for a filtering option that allows that, using Dafny-centric names? |
When running |
For context, this came about when trying to verify the standard libraries with I just double-checked, and can confirm that this hang is still happening with |
dafny verify
on Std.Strings.ParametricConversion.OfNat
dafny verify
on Std
Should work yes. Did you add a timelimit when doing this to check whether it's a bug instead of a verification taking long problem?
Can you not already do that with |
Fix for #5088 ### Description Remove `--boogie-filter` option, because there's now a better `--filter-symbol` ### How has this been tested? Tests for the removed feature have been removed. <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Closing because we've removed support for |
Dafny version
5cf477a
Code to produce this issue
dafny/Source/DafnyStandardLibraries/src/Std/Strings.dfy
Lines 84 to 93 in 73fcdf3
Command to run and resulting output
What happened?
Even with
--cores 1
,dafny verify
hangs, but the old-style CLI works correctly.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: