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

feat: prove specification of Max program that manipulates memory via new VCG #136

Merged
merged 24 commits into from
Sep 8, 2024

Conversation

bollu
Copy link
Collaborator

@bollu bollu commented Sep 3, 2024

Supercedes #128, and have broken down the patches into a patch sequence that we can peel commits from.

@bollu bollu marked this pull request as ready for review September 4, 2024 15:03
@bollu bollu requested a review from shigoel as a code owner September 4, 2024 15:03
Arm/State.lean Outdated Show resolved Hide resolved
Arm/State.lean Outdated Show resolved Hide resolved
Arm/State.lean Show resolved Hide resolved
@shigoel
Copy link
Collaborator

shigoel commented Sep 5, 2024

Looks good in general, and I'd be interested to see whether you can reuse the symbolic simulation done during the partial correctness proof to also prove termination. See Correctness.by_the_method and the AddLoopTandem proof.

@bollu
Copy link
Collaborator Author

bollu commented Sep 5, 2024

and I'd be interested to see whether you can reuse the symbolic simulation done during the partial correctness

I too would be interested, but I would prefer to do this after I prove memcpy partially correct :) That feels slightly higher up on the priority queue for me, since it's a target program that we promised to verify!

Happy to discuss and change plans.

@bollu
Copy link
Collaborator Author

bollu commented Sep 6, 2024

@shigoel done, I've fixed up the comments that I felt were actionable :)

@shigoel shigoel merged commit 74aba78 into main Sep 8, 2024
4 checks passed
@shigoel shigoel deleted the mem-max-take-3-vcg-assertions branch September 8, 2024 20:04
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.

4 participants