Skip to content
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

Feature request: /vcsSplitOnEveryAssert #465

Closed
robin-aws opened this issue Dec 2, 2021 · 0 comments · Fixed by #468
Closed

Feature request: /vcsSplitOnEveryAssert #465

robin-aws opened this issue Dec 2, 2021 · 0 comments · Fixed by #468
Assignees

Comments

@robin-aws
Copy link
Contributor

As part of the epic on verification stability (dafny-lang/dafny#1582), I've found that the implementation of the {:split_here} and {:focus} directives can easily be reused to isolate every assertion in its own split, just as if {:split_here} was present on every assertion. I have a POC implementation that has proven useful as a debugging tool, to identify which asserts in a procedure were by far the most expensive to verify. Focusing on improving those assertions then greatly improved the stability of the procedure.

The equivalent {:vcs_split_on_every_assert} attribute would also be useful as a blunt instrument for improving the stability of a procedure: although it would increase the total verification time quite a bit because of the overhead, it would also greatly improve the stability of the verification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant