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

Improve proof speed of invntt_layer() #411

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rod-chapman
Copy link
Contributor

For this proof we tell CBMC to remove constraints that are not in the cone of influcence of the proof obligations using the --slice-formula option.

Experiment shows this reduces proof time for this subprogram from about 40s to about 12s on a developer's laptop.

Total proof time (using 8 CPU cores on M1 MacBook Pro)
before: 3m 46s
after: 3m 7s

All tests OK
All proofs OK
lint OK

For this proof we tell CBMC to remove constraints that are not in the cone of
influcence of the proof obligations using the "--slice-formula" option.

Experiment shows this reduces proof time for this subprogram from about
40s to about 12s on a developer's laptop.

Signed-off-by: Rod Chapman <[email protected]>
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 this pull request may close these issues.

1 participant