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

[Certora]: Add counter of owners to specification #657

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

jhoenicke
Copy link
Contributor

This adds a ghost variable to each owner that counts the elements behind it in the list, and proves the invariant that the counts are correct. It then shows that ownerCount corresponds to the count of the head element of the list.

Prove that ownerCount matches the number of reachable elements.
@mmv08 mmv08 requested review from a team, rmeissner, Uxio0, akshay-ap and mmv08 and removed request for a team September 8, 2023 11:38
@mmv08 mmv08 merged commit 8ffae95 into safe-global:main Sep 19, 2023
6 of 9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants