| ⊦ ( ( listp(gs.orl + gs.qrl, gs.vs, gs.ps, gs.owns) ∧ ¬ dups(gs.orl + gs.qrl) ∧ markedp(gs.orl, gs.ps) ∧ markedp(gs.orl, gs.vs) ∧ unmarkedp(gs.qrl, gs.ps) ∧ gs.orl ≠ [] ∧ gs.phead ∈ gs.orl ∧ rvownerok(gs.vretRefs, gs.vrvHp, gs.rvowns) ∧ allocrv(gs.vretRefs, gs.vrvHp) ∧ nonullRetRefs(gs.orl + gs.qrl, gs.vs, gs.vretRefs, gs.pretRefs) ∧ rvownerok(gs.pretRefs, gs.prvHp, gs.rvowns) ∧ allocrv(gs.pretRefs, gs.prvHp) ∧ dom gs.vrvHp = dom gs.prvHp ∧ ( gs.vs[gs.vhead].next ≠ null ∧ gs.vs[gs.vs[gs.vhead].next].deqID ≠ None → gs.rvowns(gs.vretRefs(gs.vs[gs.vs[gs.vhead].next].deqID.tid)) = Claimed(gs.vs[gs.vs[gs.vhead].next].deqID.tid, gs.vs[gs.vs[gs.vhead].next].val)) ∧ ( gs.orl.last = gs.vhead ∧ (gs.qrl ≠ [] → unmarkedp(gs.qrl.tail, gs.vs)) ∨ gs.orl.butlast ≠ [] ∧ gs.orl.butlast.last = gs.vhead ∧ gs.phead ≠ gs.orl.last ∧ unmarkedp(gs.qrl, gs.vs)) ∧ ( gs.vtail = (gs.orl + gs.qrl).last ∨ gs.qrl ≠ [] ∧ gs.vtail = (gs.orl + gs.qrl.butlast).last ∧ gs.vs[gs.qrl.last].deqID = None ∧ gs.vs[(gs.orl + gs.qrl).last].next = null)) ∧ nextnottid(ls.tid, gs.vhead, gs.vs) ∧ noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs) ∧ noowns(ls.tid, gs.owns)) ∧ pre(gs, ls, E1, a) ∧ pcstepf(gs, ls, E1, a) = E1 → ( listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last].next = null)) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns) |
dom gs.vrvHp = dom gs.prvHp, pcstepf(gs, ls, E1, a) = E1, gs.orl ≠ [], allocrv(gs.vretRefs, gs.vrvHp), allocrv(gs.pretRefs, gs.prvHp), listp(gs.orl + gs.qrl, gs.vs, gs.ps, gs.owns), markedp(gs.orl, gs.ps), markedp(gs.orl, gs.vs), nextnottid(ls.tid, gs.vhead, gs.vs), noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs), nonullRetRefs(gs.orl + gs.qrl, gs.vs, gs.vretRefs, gs.pretRefs), noowns(ls.tid, gs.owns), pre(gs, ls, E1, a), rvownerok(gs.vretRefs, gs.vrvHp, gs.rvowns), rvownerok(gs.pretRefs, gs.prvHp, gs.rvowns), unmarkedp(gs.qrl, gs.ps), gs.phead ∈ gs.orl, ¬ dups(gs.orl + gs.qrl), gs.vs[gs.vhead].next ≠ null ∧ gs.vs[gs.vs[gs.vhead].next].deqID ≠ None → gs.rvowns(gs.vretRefs(gs.vs[gs.vs[gs.vhead].next].deqID.tid)) = Claimed(gs.vs[gs.vs[gs.vhead].next].deqID.tid, gs.vs[gs.vs[gs.vhead].next].val), gs.orl.last = gs.vhead ∧ (gs.qrl ≠ [] → unmarkedp(gs.qrl.tail, gs.vs)) ∨ gs.orl.butlast ≠ [] ∧ gs.orl.butlast.last = gs.vhead ∧ gs.phead ≠ gs.orl.last ∧ unmarkedp(gs.qrl, gs.vs), gs.vtail = (gs.orl + gs.qrl).last ∨ gs.qrl ≠ [] ∧ gs.vtail = (gs.orl + gs.qrl.butlast).last ∧ gs.vs[gs.qrl.last].deqID = None ∧ gs.vs[(gs.orl + gs.qrl).last].next = null ⊦ ( listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last].next = null)) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns)
| dom gs.vrvHp = dom gs.prvHp, pcstepf(gs, ls, E1, a) = E1, gs.orl ≠ [], allocrv(gs.vretRefs, gs.vrvHp), allocrv(gs.pretRefs, gs.prvHp), listp(gs.orl + gs.qrl, gs.vs, gs.ps, gs.owns), markedp(gs.orl, gs.ps), markedp(gs.orl, gs.vs), nextnottid(ls.tid, gs.vhead, gs.vs), noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs), nonullRetRefs(gs.orl + gs.qrl, gs.vs, gs.vretRefs, gs.pretRefs), noowns(ls.tid, gs.owns), pre(gs, ls, E1, a), rvownerok(gs.vretRefs, gs.vrvHp, gs.rvowns), rvownerok(gs.pretRefs, gs.prvHp, gs.rvowns), unmarkedp(gs.qrl, gs.ps), gs.phead ∈ gs.orl, ¬ dups(gs.orl + gs.qrl), gs.vs[gs.vhead].next ≠ null ∧ gs.vs[gs.vs[gs.vhead].next].deqID ≠ None → gs.rvowns(gs.vretRefs(gs.vs[gs.vs[gs.vhead].next].deqID.tid)) = Claimed(gs.vs[gs.vs[gs.vhead].next].deqID.tid, gs.vs[gs.vs[gs.vhead].next].val), gs.orl.last = gs.vhead ∧ (gs.qrl ≠ [] → unmarkedp(gs.qrl.tail, gs.vs)) ∨ gs.orl.butlast ≠ [] ∧ gs.orl.butlast.last = gs.vhead ∧ gs.phead ≠ gs.orl.last ∧ unmarkedp(gs.qrl, gs.vs), gs.vtail = (gs.orl + gs.qrl).last ∨ gs.qrl ≠ [] ∧ gs.vtail = (gs.orl + gs.qrl.butlast).last ∧ gs.vs[gs.qrl.last].deqID = None ∧ gs.vs[(gs.orl + gs.qrl).last].next = null ⊦ ( listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last].next = null)) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns) |
dom gs.vrvHp = dom gs.prvHp, gs.orl ≠ [], allocrv(gs.pretRefs, gs.prvHp), allocrv(gs.vretRefs, gs.vrvHp), listp(gs.orl + gs.qrl, gs.vs, gs.ps, gs.owns), markedp(gs.orl, gs.vs), markedp(gs.orl, gs.ps), nextnottid(ls.tid, gs.vhead, gs.vs), noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs), nonullRetRefs(gs.orl + gs.qrl, gs.vs, gs.vretRefs, gs.pretRefs), noowns(ls.tid, gs.owns), rvownerok(gs.pretRefs, gs.prvHp, gs.rvowns), rvownerok(gs.vretRefs, gs.vrvHp, gs.rvowns), unmarkedp(gs.qrl, gs.ps), gs.phead ∈ gs.orl, gs.phead ∈ gs.vs, gs.phead ∈ gs.ps, ¬ dups(gs.orl + gs.qrl), ¬ dups(gs.orl), ¬ dups(gs.qrl), gs.vs[gs.vhead].next ≠ null ∧ gs.vs[gs.vs[gs.vhead].next].deqID ≠ None → gs.rvowns(gs.vretRefs(gs.vs[gs.vs[gs.vhead].next].deqID.tid)) = Claimed(gs.vs[gs.vs[gs.vhead].next].deqID.tid, gs.vs[gs.vs[gs.vhead].next].val), gs.orl.last = gs.vhead ∧ (gs.qrl ≠ [] → unmarkedp(gs.qrl.tail, gs.vs)) ∨ gs.orl.butlast ≠ [] ∧ gs.orl.butlast.last = gs.vhead ∧ gs.phead ≠ gs.orl.last ∧ unmarkedp(gs.qrl, gs.vs), ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ gs.vs ∧ ¬ node ∈ gs.ps ∧ node ≠ null), gs.vtail = (gs.orl + gs.qrl).last ∨ gs.qrl ≠ [] ∧ gs.vtail = (gs.orl + gs.qrl.butlast).last ∧ gs.vs[gs.qrl.last].deqID = None ∧ gs.vs[gs.qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].next = null) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns)
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ pre(gs, ls, E1, a) ↔ (∃ node0, nd0, success0. ( ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)) ∧ a = chooseE1(node0, nd0, success0)) ∨ a = τ ∧ ¬ (∃ node0, nd0, success0. ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)); (s) ⊦ E1 ≠ E2; (s) ⊦ pcstepf(gs, ls, E1, a) = (∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0) ⊃ E2;E1); (s)
| dom gs.vrvHp = dom gs.prvHp, gs.orl ≠ [], allocrv(gs.pretRefs, gs.prvHp), allocrv(gs.vretRefs, gs.vrvHp), listp(gs.orl + gs.qrl, gs.vs, gs.ps, gs.owns), markedp(gs.orl, gs.vs), markedp(gs.orl, gs.ps), nextnottid(ls.tid, gs.vhead, gs.vs), noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs), nonullRetRefs(gs.orl + gs.qrl, gs.vs, gs.vretRefs, gs.pretRefs), noowns(ls.tid, gs.owns), rvownerok(gs.pretRefs, gs.prvHp, gs.rvowns), rvownerok(gs.vretRefs, gs.vrvHp, gs.rvowns), unmarkedp(gs.qrl, gs.ps), gs.phead ∈ gs.orl, gs.phead ∈ gs.vs, gs.phead ∈ gs.ps, ¬ dups(gs.orl + gs.qrl), ¬ dups(gs.orl), ¬ dups(gs.qrl), gs.vs[gs.vhead].next ≠ null ∧ gs.vs[gs.vs[gs.vhead].next].deqID ≠ None → gs.rvowns(gs.vretRefs(gs.vs[gs.vs[gs.vhead].next].deqID.tid)) = Claimed(gs.vs[gs.vs[gs.vhead].next].deqID.tid, gs.vs[gs.vs[gs.vhead].next].val), gs.orl.last = gs.vhead ∧ (gs.qrl ≠ [] → unmarkedp(gs.qrl.tail, gs.vs)) ∨ gs.orl.butlast ≠ [] ∧ gs.orl.butlast.last = gs.vhead ∧ gs.phead ≠ gs.orl.last ∧ unmarkedp(gs.qrl, gs.vs), ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ gs.vs ∧ ¬ node ∈ gs.ps ∧ node ≠ null), gs.vtail = (gs.orl + gs.qrl).last ∨ gs.qrl ≠ [] ∧ gs.vtail = (gs.orl + gs.qrl.butlast).last ∧ gs.vs[gs.qrl.last].deqID = None ∧ gs.vs[gs.qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].next = null) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns) |
dom vrvHp = dom prvHp, gs = mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(ls.tid, vhead, vs), noid(ls.tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(ls.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].next = null) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns)
Used simplifier rules: ⊦ ( ( ( ( ( ( ( ( ( ((ps = gs.ps ∧ vs = gs.vs) ∧ phead = gs.phead) ∧ vhead = gs.vhead) ∧ vtail = gs.vtail) ∧ vretRefs = gs.vretRefs) ∧ pretRefs = gs.pretRefs) ∧ vrvHp = gs.vrvHp) ∧ prvHp = gs.prvHp) ∧ qrl = gs.qrl) ∧ orl = gs.orl) ∧ owns = gs.owns) ∧ rvowns = gs.rvowns ↔ gs = mkgs (ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns); (elim) Used terms: qrl, ps, phead, vrvHp, vretRefs, vhead, vtail, gs, owns, rvowns, orl, prvHp, pretRefs, vs
| dom vrvHp = dom prvHp, gs = mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(ls.tid, vhead, vs), noid(ls.tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(ls.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).ps, gstepf(gs, ls, E1, a).owns) ∧ ¬ dups(gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).ps) ∧ markedp(gstepf(gs, ls, E1, a).orl, gstepf(gs, ls, E1, a).vs) ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).ps) ∧ gstepf(gs, ls, E1, a).orl ≠ [] ∧ gstepf(gs, ls, E1, a).phead ∈ gstepf(gs, ls, E1, a).orl ∧ rvownerok(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).vrvHp) ∧ nonullRetRefs (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs, gstepf(gs, ls, E1, a).vretRefs, gstepf(gs, ls, E1, a).pretRefs) ∧ rvownerok(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp, gstepf(gs, ls, E1, a).rvowns) ∧ allocrv(gstepf(gs, ls, E1, a).pretRefs, gstepf(gs, ls, E1, a).prvHp) ∧ dom gstepf(gs, ls, E1, a).vrvHp = dom gstepf(gs, ls, E1, a).prvHp ∧ ( gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next ≠ null ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID ≠ None → gstepf(gs, ls, E1, a).rvowns (gstepf(gs, ls, E1, a).vretRefs(gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid)) = Claimed (gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].deqID.tid, gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).vhead].next].val)) ∧ ( gstepf(gs, ls, E1, a).orl.last = gstepf(gs, ls, E1, a).vhead ∧ (gstepf(gs, ls, E1, a).qrl ≠ [] → unmarkedp(gstepf(gs, ls, E1, a).qrl.tail, gstepf(gs, ls, E1, a).vs)) ∨ gstepf(gs, ls, E1, a).orl.butlast ≠ [] ∧ gstepf(gs, ls, E1, a).orl.butlast.last = gstepf(gs, ls, E1, a).vhead ∧ gstepf(gs, ls, E1, a).phead ≠ gstepf(gs, ls, E1, a).orl.last ∧ unmarkedp(gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vs)) ∧ ( gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl).last ∨ gstepf(gs, ls, E1, a).qrl ≠ [] ∧ gstepf(gs, ls, E1, a).vtail = (gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl.butlast).last ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].deqID = None ∧ gstepf(gs, ls, E1, a).vs[gstepf(gs, ls, E1, a).qrl.last].next = null) ∧ nextnottid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noid(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).orl + gstepf(gs, ls, E1, a).qrl, gstepf(gs, ls, E1, a).vhead, gstepf(gs, ls, E1, a).vs) ∧ noowns(lstepf(gs, ls, E1, a).tid, gstepf(gs, ls, E1, a).owns) |
dom vrvHp = dom prvHp, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(ls.tid, vhead, vs), noid(ls.tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(ls.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns) ∧ ¬ dups ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ∈ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp) ∧ nonullRetRefs ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs) ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp) ∧ dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp = dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ≠ null ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID ≠ None → gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid)) = Claimed (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .val)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] → unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.tail, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ≠ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ).last ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.butlast ).last ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .deqID = None ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .next = null) ∧ nextnottid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noowns (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns)
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ
| dom vrvHp = dom prvHp, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(ls.tid, vhead, vs), noid(ls.tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(ls.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns) ∧ ¬ dups ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ∈ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp) ∧ nonullRetRefs ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs) ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp) ∧ dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp = dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ≠ null ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID ≠ None → gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid)) = Claimed (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .val)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] → unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.tail, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ≠ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ).last ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.butlast ).last ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .deqID = None ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .next = null) ∧ nextnottid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noowns (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns) |
dom vrvHp = dom prvHp, ls = mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns) ∧ ¬ dups ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ∈ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp) ∧ nonullRetRefs ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs) ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp) ∧ dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp = dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ≠ null ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID ≠ None → gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid)) = Claimed (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .val)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] → unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.tail, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ≠ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ).last ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.butlast ).last ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .deqID = None ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .next = null) ∧ nextnottid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noowns (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns)
Used simplifier rules: ⊦ ( ( ( ( ( ( ( ( ( ( (tid = ls.tid ∧ value = ls.value) ∧ optval = ls.optval) ∧ node = ls.node) ∧ nd = ls.nd) ∧ (success ↔ ls.success)) ∧ lst = ls.lst) ∧ nxt = ls.nxt) ∧ rvref = ls.rvref) ∧ optval0 = ls.optval0) ∧ first = ls.first) ∧ othertid = ls.othertid) ∧ addr = ls.addr ↔ ls = mkls (tid, value, optval, node, nd, success, lst, nxt, rvref, optval0, first, othertid, addr); (elim) Used terms: value, nxt, optval, node1, nd, ls, addr, tid, lst, first, rvref, othertid, success, optval
| dom vrvHp = dom prvHp, ls = mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns) ∧ ¬ dups ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ markedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).ps) ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ∈ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp) ∧ nonullRetRefs ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs) ∧ rvownerok (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns) ∧ allocrv (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).pretRefs, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp) ∧ dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vrvHp = dom gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).prvHp ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ≠ null ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID ≠ None → gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).rvowns (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vretRefs (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid)) = Claimed (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .deqID .tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ] .next ] .val)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] → unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.tail, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.butlast.last = gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).phead ≠ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl.last ∧ unmarkedp (gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs)) ∧ ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ).last ∨ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl ≠ [] ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vtail = ( gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.butlast ).last ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .deqID = None ∧ gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs [gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl.last ] .next = null) ∧ nextnottid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noid (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).orl + gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).qrl, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vhead, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).vs) ∧ noowns (lstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).tid, gstepf(mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, E1, a).owns) |
dom vrvHp = dom prvHp, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .ps, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .owns) ∧ ¬ dups ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl) ∧ markedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .ps) ∧ markedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs) ∧ unmarkedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .ps) ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl ≠ [] ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .phead ∈ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl ∧ rvownerok (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vrvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .rvowns) ∧ allocrv (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vrvHp) ∧ nonullRetRefs ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .pretRefs) ∧ rvownerok (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .pretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .prvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .rvowns) ∧ allocrv (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .pretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .prvHp) ∧ dom gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vrvHp = dom gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .prvHp ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ≠ null ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .deqID ≠ None → gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .rvowns (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .deqID .tid)) = Claimed (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .deqID .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .val)) ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .last = gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl ≠ [] → unmarkedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .tail, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs)) ∨ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .butlast ≠ [] ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .butlast .last = gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .phead ≠ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .last ∧ unmarkedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs)) ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vtail = ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl ).last ∨ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl ≠ [] ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vtail = ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .butlast ).last ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .last ] .deqID = None ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .last ] .next = null) ∧ nextnottid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs) ∧ noid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs) ∧ noowns (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .owns)
| dom vrvHp = dom prvHp, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .ps, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .owns) ∧ ¬ dups ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl) ∧ markedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .ps) ∧ markedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs) ∧ unmarkedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .ps) ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl ≠ [] ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .phead ∈ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl ∧ rvownerok (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vrvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .rvowns) ∧ allocrv (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vrvHp) ∧ nonullRetRefs ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .pretRefs) ∧ rvownerok (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .pretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .prvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .rvowns) ∧ allocrv (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .pretRefs, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .prvHp) ∧ dom gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vrvHp = dom gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .prvHp ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ≠ null ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .deqID ≠ None → gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .rvowns (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vretRefs (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .deqID .tid)) = Claimed (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .deqID .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ] .next ] .val)) ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .last = gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl ≠ [] → unmarkedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .tail, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs)) ∨ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .butlast ≠ [] ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .butlast .last = gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .phead ≠ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl .last ∧ unmarkedp (gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs)) ∧ ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vtail = ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl ).last ∨ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl ≠ [] ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vtail = ( gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .butlast ).last ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .last ] .deqID = None ∧ gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs [gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl .last ] .next = null) ∧ nextnottid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs) ∧ noid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .orl + gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .qrl, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vhead, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .vs) ∧ noowns (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .owns) |
dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) = mkgs(ps0, vs0, phead0, vhead0, vtail0, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ ¬ dups(orl0 + qrl0) ∧ markedp(orl0, ps0) ∧ markedp(orl0, vs0) ∧ unmarkedp(qrl0, ps0) ∧ orl0 ≠ [] ∧ phead0 ∈ orl0 ∧ rvownerok(vretRefs0, vrvHp0, rvowns0) ∧ allocrv(vretRefs0, vrvHp0) ∧ nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0) ∧ rvownerok(pretRefs0, prvHp0, rvowns0) ∧ allocrv(pretRefs0, prvHp0) ∧ dom vrvHp0 = dom prvHp0 ∧ ( vs0[vhead0].next ≠ null ∧ vs0[vs0[vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead0].next].deqID.tid)) = Claimed(vs0[vs0[vhead0].next].deqID.tid, vs0[vs0[vhead0].next].val)) ∧ ( orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0)) ∧ (vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null) ∧ nextnottid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, vhead0, vs0) ∧ noid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, orl0 + qrl0, vhead0, vs0) ∧ noowns (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, owns0)
Used simplifier rules: ⊦ ( ( ( ( ( ( ( ( ( ((ps = gs.ps ∧ vs = gs.vs) ∧ phead = gs.phead) ∧ vhead = gs.vhead) ∧ vtail = gs.vtail) ∧ vretRefs = gs.vretRefs) ∧ pretRefs = gs.pretRefs) ∧ vrvHp = gs.vrvHp) ∧ prvHp = gs.prvHp) ∧ qrl = gs.qrl) ∧ orl = gs.orl) ∧ owns = gs.owns) ∧ rvowns = gs.rvowns ↔ gs = mkgs (ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns); (elim) Used terms: qrl0, ps0, phead0, vrvHp0, vretRefs0, vhead0, vtail0, gstepf (mkgs (ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a), owns0, rvowns0, orl0, prvHp0, pretRefs0, vs0
| dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) = mkgs(ps0, vs0, phead0, vhead0, vtail0, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), orl ≠ [], allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, ¬ node0 ∈ vs ∧ ¬ node0 ∈ ps ∧ node0 ≠ null ∧ ¬ success0 ∧ a = chooseE1(node0, nd0, false) ∨ a = τ ∧ ¬(∃ node. ¬ node ∈ vs ∧ ¬ node ∈ ps ∧ node ≠ null), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ ¬ dups(orl0 + qrl0) ∧ markedp(orl0, ps0) ∧ markedp(orl0, vs0) ∧ unmarkedp(qrl0, ps0) ∧ orl0 ≠ [] ∧ phead0 ∈ orl0 ∧ rvownerok(vretRefs0, vrvHp0, rvowns0) ∧ allocrv(vretRefs0, vrvHp0) ∧ nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0) ∧ rvownerok(pretRefs0, prvHp0, rvowns0) ∧ allocrv(pretRefs0, prvHp0) ∧ dom vrvHp0 = dom prvHp0 ∧ ( vs0[vhead0].next ≠ null ∧ vs0[vs0[vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead0].next].deqID.tid)) = Claimed(vs0[vs0[vhead0].next].deqID.tid, vs0[vs0[vhead0].next].val)) ∧ ( orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0)) ∧ (vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null) ∧ nextnottid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, vhead0, vs0) ∧ noid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, orl0 + qrl0, vhead0, vs0) ∧ noowns (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, owns0) |
a = chooseE1(node0, nd0, false), dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) = mkgs(ps0, vs0, phead0, vhead0, vtail0, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), ¬ success0, node0 ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ¬ node0 ∈ ps, ¬ node0 ∈ vs, vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ ¬ dups(orl0 + qrl0) ∧ markedp(orl0, ps0) ∧ markedp(orl0, vs0) ∧ unmarkedp(qrl0, ps0) ∧ orl0 ≠ [] ∧ phead0 ∈ orl0 ∧ rvownerok(vretRefs0, vrvHp0, rvowns0) ∧ allocrv(vretRefs0, vrvHp0) ∧ nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0) ∧ rvownerok(pretRefs0, prvHp0, rvowns0) ∧ allocrv(pretRefs0, prvHp0) ∧ dom vrvHp0 = dom prvHp0 ∧ ( vs0[vhead0].next ≠ null ∧ vs0[vs0[vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead0].next].deqID.tid)) = Claimed(vs0[vs0[vhead0].next].deqID.tid, vs0[vs0[vhead0].next].val)) ∧ ( orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0)) ∧ (vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null) ∧ nextnottid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, vhead0, vs0) ∧ noid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, orl0 + qrl0, vhead0, vs0) ∧ noowns (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, owns0)
Used simplifier rules: ⊦ gstepf(gs, ls, E1, τ) = gs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ lstepf(gs, ls, E1, τ) = ls; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ chooseE1(node, nd, success) ≠ τ; (s)
| a = chooseE1(node0, nd0, false), dom vrvHp = dom prvHp, gstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) = mkgs(ps0, vs0, phead0, vhead0, vtail0, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), ¬ success0, node0 ≠ null, orl ≠ [], allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid, vhead, vs), noid(tid, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ¬ node0 ∈ ps, ¬ node0 ∈ vs, vs[vhead].next ≠ null ∧ vs[vs[vhead].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead].next].deqID.tid)) = Claimed(vs[vs[vhead].next].deqID.tid, vs[vs[vhead].next].val), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vtail = (orl + qrl).last ∨ qrl ≠ [] ∧ vtail = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ ∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ ¬ dups(orl0 + qrl0) ∧ markedp(orl0, ps0) ∧ markedp(orl0, vs0) ∧ unmarkedp(qrl0, ps0) ∧ orl0 ≠ [] ∧ phead0 ∈ orl0 ∧ rvownerok(vretRefs0, vrvHp0, rvowns0) ∧ allocrv(vretRefs0, vrvHp0) ∧ nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0) ∧ rvownerok(pretRefs0, prvHp0, rvowns0) ∧ allocrv(pretRefs0, prvHp0) ∧ dom vrvHp0 = dom prvHp0 ∧ ( vs0[vhead0].next ≠ null ∧ vs0[vs0[vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead0].next].deqID.tid)) = Claimed(vs0[vs0[vhead0].next].deqID.tid, vs0[vs0[vhead0].next].val)) ∧ ( orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0)) ∧ (vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null) ∧ nextnottid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, vhead0, vs0) ∧ noid (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, orl0 + qrl0, vhead0, vs0) ∧ noowns (lstepf (mkgs(ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, value, optval, node1, nd, success, lst, nxt, rvref, optval0, first, othertid, addr), E1, a) .tid, owns0) |
dom vrvHp0 = dom prvHp0, node0 ≠ null, orl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs, ps, owns), markedp(orl0, vs), markedp(orl0, ps), nextnottid(tid, vhead0, vs), noid(tid, orl0 + qrl0, vhead0, vs), nonullRetRefs(orl0 + qrl0, vs, vretRefs0, pretRefs0), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps), phead0 ∈ orl0, phead0 ∈ vs, phead0 ∈ ps, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ node0 ∈ vs, ¬ node0 ∈ ps, vs[vhead0].next ≠ null ∧ vs[vs[vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs[vs[vhead0].next].deqID.tid)) = Claimed(vs[vs[vhead0].next].deqID.tid, vs[vs[vhead0].next].val), orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs), vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs[qrl0.last].deqID = None ∧ vs[qrl0.last].next = null ⊦ ∃ node, nd, success0. chooseE1(node0, nd0, false) = chooseE1(node, nd, success0), listp(orl0 + qrl0, vs[node0, nd0], ps[node0, nd0], owns(node0; Some(tid))) ∧ markedp(orl0, ps[node0, nd0]) ∧ markedp(orl0, vs[node0, nd0]) ∧ unmarkedp(qrl0, ps[node0, nd0]) ∧ nonullRetRefs(orl0 + qrl0, vs[node0, nd0], vretRefs0, pretRefs0) ∧ ( vs[node0, nd0][vhead0].next ≠ null ∧ vs[node0, nd0][vs[node0, nd0][vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs[node0, nd0][vs[node0, nd0][vhead0].next].deqID.tid)) = Claimed(vs[node0, nd0][vs[node0, nd0][vhead0].next].deqID.tid, vs[node0, nd0][vs[node0, nd0][vhead0].next].val)) ∧ ( orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs[node0, nd0])) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs[node0, nd0])) ∧ ( vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs[node0, nd0][qrl0.last].deqID = None ∧ vs[node0, nd0][qrl0.last].next = null) ∧ nextnottid(tid, vhead0, vs[node0, nd0]) ∧ noid(tid, orl0 + qrl0, vhead0, vs[node0, nd0]) ∧ noowns(tid, owns(node0; Some(tid)))
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success:= success0 = mkls (tid, value, optval, node, nd, success0, node0, node1, rvref, optval0, node2, tid0, rvref0); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nd:= nd0 = mkls (tid, value, optval, node, nd0, success, node0, node1, rvref, optval0, node2, tid0, rvref0); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node:= node3 = mkls (tid, value, optval, node3, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0); (s) ⊦ lstepf(gs, ls, E1, chooseE1(node0, nd0, success0)) = ((ls.node:= node0).nd:= nd0).success:= success0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nd = nd; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ gstepf(gs, ls, E1, chooseE1(node0, nd0, success0)) = ( ( gs .ps:= gs.ps [(((ls.node:= node0).nd:= nd0).success:= success0 ).node, (((ls.node:= node0).nd:= nd0).success:= success0).nd ]) .vs:= gs.vs [(((ls.node:= node0).nd:= nd0).success:= success0).node, (((ls.node:= node0).nd:= nd0).success:= success0).nd ]) .owns:= gs.owns ((((ls.node:= node0).nd:= nd0).success:= success0).node ; Some((((ls.node:= node0).nd:= nd0).success:= success0).tid) ); (s)
| dom vrvHp0 = dom prvHp0, node0 ≠ null, orl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs, ps, owns), markedp(orl0, vs), markedp(orl0, ps), nextnottid(tid, vhead0, vs), noid(tid, orl0 + qrl0, vhead0, vs), nonullRetRefs(orl0 + qrl0, vs, vretRefs0, pretRefs0), noowns(tid, owns), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps), phead0 ∈ orl0, phead0 ∈ vs, phead0 ∈ ps, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ node0 ∈ vs, ¬ node0 ∈ ps, vs[vhead0].next ≠ null ∧ vs[vs[vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs[vs[vhead0].next].deqID.tid)) = Claimed(vs[vs[vhead0].next].deqID.tid, vs[vs[vhead0].next].val), orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs), vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs[qrl0.last].deqID = None ∧ vs[qrl0.last].next = null ⊦ ∃ node, nd, success0. chooseE1(node0, nd0, false) = chooseE1(node, nd, success0), listp(orl0 + qrl0, vs[node0, nd0], ps[node0, nd0], owns(node0; Some(tid))) ∧ markedp(orl0, ps[node0, nd0]) ∧ markedp(orl0, vs[node0, nd0]) ∧ unmarkedp(qrl0, ps[node0, nd0]) ∧ nonullRetRefs(orl0 + qrl0, vs[node0, nd0], vretRefs0, pretRefs0) ∧ ( vs[node0, nd0][vhead0].next ≠ null ∧ vs[node0, nd0][vs[node0, nd0][vhead0].next].deqID ≠ None → rvowns0(vretRefs0(vs[node0, nd0][vs[node0, nd0][vhead0].next].deqID.tid)) = Claimed(vs[node0, nd0][vs[node0, nd0][vhead0].next].deqID.tid, vs[node0, nd0][vs[node0, nd0][vhead0].next].val)) ∧ ( orl0.last = vhead0 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs[node0, nd0])) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead0 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs[node0, nd0])) ∧ ( vtail0 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail0 = (orl0 + qrl0.butlast).last ∧ vs[node0, nd0][qrl0.last].deqID = None ∧ vs[node0, nd0][qrl0.last].next = null) ∧ nextnottid(tid, vhead0, vs[node0, nd0]) ∧ noid(tid, orl0 + qrl0, vhead0, vs[node0, nd0]) ∧ noowns(tid, owns(node0; Some(tid))) |
Used terms: node0, nd0, false
The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.