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

IPM proof fails in lib/proof body_release, succeeds in atomics body_release #770

Open
andrew-appel opened this issue Apr 22, 2024 · 1 comment
Assignees

Comments

@andrew-appel
Copy link
Collaborator

In vst_on_iris branch, in lib/proof/verif_locks.v, in Lemma body_release, there is a Iris Proof Mode proof that fails:

iInv i as "((% & >p & ?) & Hown)" "Hclose".

The same exact proof succeeds, with apparently the same context, in atomics/verif_lock.v (also in the vst_on_iris branch).

Can someone familiar with IPM fix this one?

@mansky1
Copy link
Collaborator

mansky1 commented Apr 23, 2024

There were two problems here: 1) the definition that was being destructed was declared Opaque, and 2) the Timeless instance for atomic_int_at wasn't declared as an instance. It should work now.

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

No branches or pull requests

2 participants