-
Notifications
You must be signed in to change notification settings - Fork 9
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
Possibly incorrect lemma in example-archive (src/example-archive/simple-examples/working/list_2.c
)
#111
Comments
Oh, I'm realising that maybe it's in example-archive because it's been archived? tentatively closing this issue accordingly, and saw that a more correct encoding was already implemented in src/examples/queue/pop_unified.c |
IntListSeq is exclusive in its second argument (does not take ownership of that pointer), and so the lemma as stated should be fine. Cycles would be ruled out by the fact that Owned(p) * Owned(q) => p != q. |
(see previous discussion in mattermost) |
Can you post a link or summarise the discussion for future readers? |
(project-internal link) https://mattermost.galois.com/verse-ta1-ta2/pl/489kc5988jgef88upaqqq3ydso |
I think this is the correct form of the lemma? |
Hi, I was just going through the snippets in the example archive looking, and I realised that it might be the case that one of the lemmas assumed in one is incorrect?
cn-tutorial/src/example-archive/simple-examples/working/list_2.c
Lines 12 to 18 in c9706ff
In particular, shouldn't v.next be constrained to not be equal to any of the next-fields inside the list segment? (because if so, then it forms a loop and the segment would be cut off early?).
Discovered this while playing around and trying to prove this lemma in CN directly with the following encoding:
The text was updated successfully, but these errors were encountered: