How to prove created-ness of variable that is reassigned in loop? #3727
Unanswered
FliegendeWurst
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having trouble proving a method that is similar to the below.
The problem is that I want to use
listin the loop condition, but I can't close thePre (isEmpty)branch. I get stuck on==> list_0.<created>@heapAfter_add[anon({}, anon_heap_LOOP_0)]. I've tried addinglist.<created>to the loop invariant, but that is a syntax error. How can I track the createdness oflistin the invariant?Beta Was this translation helpful? Give feedback.
All reactions