| DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
DMSQInv(gs, lsf, pcf), gs.qrl ≠ [], some?(gs.vs[gs.qrl.head].deqID) ⊦ (pcf(gs.vs[gs.qrl.head].deqID.tid) = D20 ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).success ∨ pcf(gs.vs[gs.qrl.head].deqID.tid) = D21) ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).nxt = gs.qrl.head ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).first = gs.orl.last ∧ gs.orl.last = gs.vhead
DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))), gs.qrl ≠ [] ∧ some?(gs.vs[gs.qrl.head].deqID)
lsf(gs.vs[gs.qrl.head].deqID.tid).first = gs.orl.last, gs.orl.last = gs.vhead, lsf(gs.vs[gs.qrl.head].deqID.tid).nxt = gs.qrl.head, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(gs.vs[gs.qrl.head].deqID.tid) = D20 ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).success ∨ pcf(gs.vs[gs.qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: gs, lsf, pcf
| DMSQInv(gs, lsf, pcf), gs.qrl ≠ [], some?(gs.vs[gs.qrl.head].deqID) ⊦ (pcf(gs.vs[gs.qrl.head].deqID.tid) = D20 ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).success ∨ pcf(gs.vs[gs.qrl.head].deqID.tid) = D21) ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).nxt = gs.qrl.head ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).first = gs.orl.last ∧ gs.orl.last = gs.vhead |
| DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))), gs.qrl ≠ [] ∧ some?(gs.vs[gs.qrl.head].deqID) |
gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID), pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
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
| gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID), pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))), qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))), qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| DMSQInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid)))
DMSQGInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf
| ⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid))) |
| DMSQGInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ DMSQGInv(gs) ↔ 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)
dom mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ] .next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)
| ⊦ DMSQGInv(gs) ↔ 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) |
| dom mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ] .next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
dom vrvHp = dom prvHp, orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
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 ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (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) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .phead = phead; (s) ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp = vrvHp0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (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) .ps = ps; (s)
| dom vrvHp = dom prvHp, orl ≠ [], DMSQstep (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ DMSQstep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) ↔ (∃ tid, ls, pc. lstep(gs, lsf(tid), pcf(tid), a, gs0, ls, pc) ∧ lsf0 = lsf(tid; ls) ∧ pcf0 = pcf(tid; pc)) ∨ a = globalFLUSHHEAD ∧ gs0 = gs.phead:= gs.vhead ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ (∃ r. a = globalFLUSHVAL(r) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = gs.ps:= gs.ps[r, gs.ps[r].val:= gs.vs[r].val] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ doEnq(gs.owns(gs.vs[r].next).tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].next:= gs.vs[r].next]) .qrl:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.qrl + gs.vs[r].next;gs.qrl)) .owns:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.owns(gs.vs[r].next; None);gs.owns) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ doDeq(gs.vs[r].deqID.tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].deqID:= gs.vs[r].deqID]) .orl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.qrl.tail;gs.qrl) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ tid. a = τ ∧ gs0 = gs.pretRefs:= gs.pretRefs(tid; gs.vretRefs(tid)) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ rvref. a = τ ∧ (rvref ∈ gs.vrvHp ∧ rvref ∈ gs.prvHp ∧ rvref ≠ null) ∧ gs0 = gs.prvHp:= gs.prvHp[rvref, gs.vrvHp[rvref]] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ a = globalCRASH ∧ ⟨ps := gs.ps, phead := gs.phead, pretRefs := gs.pretRefs, prvHp := gs.prvHp, vs := gs.vs, vhead := gs.vhead, vtail := gs.vtail, vretRefs := gs.vretRefs, vrvHp := gs.vrvHp, owns := gs.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs := (((((gs.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs ∧ lsf0 = lsf ∧ pcf0 = pcf)
(∃ tid, ls, pc. lstep(gs2, lsf1(tid), pcf1(tid), ca, gs1, ls, pc) ∧ lsf2 = lsf1(tid; ls) ∧ pcf2 = pcf1(tid; pc)) ∨ ca = globalFLUSHHEAD ∧ gs1 = gs2.phead:= gs2.vhead ∧ lsf2 = lsf1 ∧ pcf2 = pcf1 ∨ (∃ r. ca = globalFLUSHVAL(r) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = gs2.ps:= gs2.ps[r, gs2.ps[r].val:= gs2.vs[r].val] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ doEnq(gs2.owns(gs2.vs[r].next).tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].next:= gs2.vs[r].next]) .qrl:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.qrl + gs2.vs[r].next;gs2.qrl)) .owns:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.owns(gs2.vs[r].next; None);gs2.owns) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ doDeq(gs2.vs[r].deqID.tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].deqID:= gs2.vs[r].deqID]) .orl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.orl + gs2.qrl.head;gs2.orl)) .qrl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.qrl.tail;gs2.qrl) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ tid. ca = τ ∧ gs1 = gs2.pretRefs:= gs2.pretRefs(tid; gs2.vretRefs(tid)) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ rvref. ca = τ ∧ (rvref ∈ gs2.vrvHp ∧ rvref ∈ gs2.prvHp ∧ rvref ≠ null) ∧ gs1 = gs2.prvHp:= gs2.prvHp[rvref, gs2.vrvHp[rvref]] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ ca = globalCRASH ∧ ⟨ps := gs2.ps, phead := gs2.phead, pretRefs := gs2.pretRefs, prvHp := gs2.prvHp, vs := gs2.vs, vhead := gs2.vhead, vtail := gs2.vtail, vretRefs := gs2.vretRefs, vrvHp := gs2.vrvHp, owns := gs2.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf1); gs2 := (((((gs2.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs1 = gs2 ∧ lsf2 = lsf1 ∧ pcf2 = pcf1), ca = doDeq(tid), dom vrvHp = dom prvHp, gs1 = gs0, gs2 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: lsf, doDeq(tid), gs0, pcf, mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0
| ⊦ DMSQstep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) ↔ (∃ tid, ls, pc. lstep(gs, lsf(tid), pcf(tid), a, gs0, ls, pc) ∧ lsf0 = lsf(tid; ls) ∧ pcf0 = pcf(tid; pc)) ∨ a = globalFLUSHHEAD ∧ gs0 = gs.phead:= gs.vhead ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ (∃ r. a = globalFLUSHVAL(r) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = gs.ps:= gs.ps[r, gs.ps[r].val:= gs.vs[r].val] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ doEnq(gs.owns(gs.vs[r].next).tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].next:= gs.vs[r].next]) .qrl:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.qrl + gs.vs[r].next;gs.qrl)) .owns:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.owns(gs.vs[r].next; None);gs.owns) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ doDeq(gs.vs[r].deqID.tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].deqID:= gs.vs[r].deqID]) .orl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.qrl.tail;gs.qrl) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ tid. a = τ ∧ gs0 = gs.pretRefs:= gs.pretRefs(tid; gs.vretRefs(tid)) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ rvref. a = τ ∧ (rvref ∈ gs.vrvHp ∧ rvref ∈ gs.prvHp ∧ rvref ≠ null) ∧ gs0 = gs.prvHp:= gs.prvHp[rvref, gs.vrvHp[rvref]] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ a = globalCRASH ∧ ⟨ps := gs.ps, phead := gs.phead, pretRefs := gs.pretRefs, prvHp := gs.prvHp, vs := gs.vs, vhead := gs.vhead, vtail := gs.vtail, vretRefs := gs.vretRefs, vrvHp := gs.vrvHp, owns := gs.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs := (((((gs.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs ∧ lsf0 = lsf ∧ pcf0 = pcf) |
| (∃ tid, ls, pc. lstep(gs2, lsf1(tid), pcf1(tid), ca, gs1, ls, pc) ∧ lsf2 = lsf1(tid; ls) ∧ pcf2 = pcf1(tid; pc)) ∨ ca = globalFLUSHHEAD ∧ gs1 = gs2.phead:= gs2.vhead ∧ lsf2 = lsf1 ∧ pcf2 = pcf1 ∨ (∃ r. ca = globalFLUSHVAL(r) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = gs2.ps:= gs2.ps[r, gs2.ps[r].val:= gs2.vs[r].val] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ doEnq(gs2.owns(gs2.vs[r].next).tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].next:= gs2.vs[r].next]) .qrl:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.qrl + gs2.vs[r].next;gs2.qrl)) .owns:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.owns(gs2.vs[r].next; None);gs2.owns) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ doDeq(gs2.vs[r].deqID.tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].deqID:= gs2.vs[r].deqID]) .orl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.orl + gs2.qrl.head;gs2.orl)) .qrl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.qrl.tail;gs2.qrl) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ tid. ca = τ ∧ gs1 = gs2.pretRefs:= gs2.pretRefs(tid; gs2.vretRefs(tid)) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ rvref. ca = τ ∧ (rvref ∈ gs2.vrvHp ∧ rvref ∈ gs2.prvHp ∧ rvref ≠ null) ∧ gs1 = gs2.prvHp:= gs2.prvHp[rvref, gs2.vrvHp[rvref]] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ ca = globalCRASH ∧ ⟨ps := gs2.ps, phead := gs2.phead, pretRefs := gs2.pretRefs, prvHp := gs2.prvHp, vs := gs2.vs, vhead := gs2.vhead, vtail := gs2.vtail, vretRefs := gs2.vretRefs, vrvHp := gs2.vrvHp, owns := gs2.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf1); gs2 := (((((gs2.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs1 = gs2 ∧ lsf2 = lsf1 ∧ pcf2 = pcf1), ca = doDeq(tid), dom vrvHp = dom prvHp, gs1 = gs0, gs2 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
dom vrvHp = dom prvHp, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: ⊦ doDeq(tid) ≠ globalCRASH; (s) ⊦ doDeq(tid) ≠ τ; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (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) .orl:= qrl2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl2, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ x + a = x + a '; (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) ⊦ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ doDeq(tid) ≠ globalFLUSHVAL(node); (s) ⊦ doDeq(tid) ≠ globalFLUSHHEAD; (s)
| dom vrvHp = dom prvHp, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid), gs1, ls, pc) ∧ lsf2 = lsf(tid0; ls) ∧ pcf2 = pcf(tid0; pc) ∨ doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf ∨ doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf2 = lsf ∧ pcf2 = pcf, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
dom vrvHp = dom prvHp, lsf2 = lsf(tid0; ls), pcf2 = pcf(tid0; pc), orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid), gs1, ls, pc), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns), lsf2 = lsf, pcf2 = pcf, orl ≠ [], vtail0 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail0 ∈ vs, vtail0 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf2 = lsf, pcf2 = pcf, orl ≠ [], vtail1 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail1 ∈ vs, vtail1 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| dom vrvHp = dom prvHp, lsf2 = lsf(tid0; ls), pcf2 = pcf(tid0; pc), orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid), gs1, ls, pc), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
dom vrvHp = dom prvHp, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid), gs1, ls, pc), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| dom vrvHp = dom prvHp, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), lstep(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid), gs1, ls, pc), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ lstep(gs, ls, pc, a, gs0, ls0, pc0) ↔ pre(gs, ls, pc, a) ∧ ls0 = lstepf(gs, ls, pc, a) ∧ gs0 = gstepf(gs, ls, pc, a) ∧ pc0 = pcstepf(gs, ls, pc, a)
dom vrvHp = dom prvHp, gs1 = gstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), pc = pcstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), pre(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: doDeq(tid), ls, pc, pcf(tid0), gs1, lsf(tid0), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)
| ⊦ lstep(gs, ls, pc, a, gs0, ls0, pc0) ↔ pre(gs, ls, pc, a) ∧ ls0 = lstepf(gs, ls, pc, a) ∧ gs0 = gstepf(gs, ls, pc, a) ∧ pc0 = pcstepf(gs, ls, pc, a) |
| dom vrvHp = dom prvHp, gs1 = gstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), ls = lstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), pc = pcstepf(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), pre(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0), doDeq(tid)), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[lsf(tid0).nxt].deqID = None, dom vrvHp = dom prvHp, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(tid0) = D21 ∧ lsf(tid0).tid = tid ∨ pcf(tid0) = D28 ∧ lsf(tid0).othertid = tid ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: pre-doDeq: ⊦ pre(gs, ls, pc, doDeq(tid)) ↔ gs.ps[ls.nxt].deqID = None ∧ (pc = D21 ∧ ls.tid = tid ∨ pc = D28 ∧ ls.othertid = tid); ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)
| ps[lsf(tid0).nxt].deqID = None, dom vrvHp = dom prvHp, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(tid0) = D21 ∧ lsf(tid0).tid = tid ∨ pcf(tid0) = D28 ∧ lsf(tid0).othertid = tid ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D21 ∧ tid1 = tid ∨ pcf(tid0) = D28 ∧ tid2 = tid, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
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, node, nd, lsf(tid0), addr, tid1, lst, first, rvref, othertid, success, optval
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid0) = D21 ∧ tid1 = tid ∨ pcf(tid0) = D28 ∧ tid2 = tid, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D21, tid1 = tid, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D28, tid2 = tid, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D21, tid1 = tid, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D21, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D21, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, lsf(tid0).tid = tid0, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D21, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: tid0
| ps[vhead3].deqID = None, lsf(tid0).tid = tid0, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D21, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), D21), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), D21), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D21, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), D21 = D3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = D6 → ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ∨ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D21 = D9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D21 = D10 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D21 = D12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next), D21 = D13 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D21 = D14 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D21 = D15 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty, D21 = D16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = D17 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = D18 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D21 = D19 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D21 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success) ∧ (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ), D21 = D21 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first), D21 = D22 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D21 = D25 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D21 = D26 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D21 = D27 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D21 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D21 = D29 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D21 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D21 = D31 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D21 = D34 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E6 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D21 = E8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D21 = E9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D21 = E10 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D21 = E11 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D21 = E12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E14 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D21 = E10 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D21 = E4 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D21, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), D21 = D3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = D6 → ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ∨ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D21 = D9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D21 = D10 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D21 = D12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next), D21 = D13 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D21 = D14 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D21 = D15 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty, D21 = D16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = D17 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = D18 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D21 = D19 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D21 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success) ∧ (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ), D21 = D21 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first), D21 = D22 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D21 = D25 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D21 = D26 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D21 = D27 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D21 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D21 = D29 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D21 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D21 = D31 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D21 = D34 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E6 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D21 = E8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D21 = E9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D21 = E10 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D21 = E11 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D21 = E12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E14 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D21 = E10 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D21 = E4 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
vs[ps[vhead4].next].deqID = Some(tid1), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid1, orl + qrl, ps[vhead4].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead4 ∈ orl, vhead0 ∈ orl + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead4 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead4 ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[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 ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[vhead4].next].deqID = Some(tid1), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid1, orl + qrl, ps[vhead4].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead4 ∈ orl, vhead0 ∈ orl + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead4 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead4 ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), orl = qrl0 + phead0 ', pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid1, orl + qrl, ps[vhead4].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead2, vhead4 ∈ orl, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), phead0 = vhead4 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead4 ∧ phead ≠ phead0 ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead0, y
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), orl = qrl0 + phead0 ', pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid1, orl + qrl, ps[vhead4].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead2, vhead4 ∈ orl, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), phead0 = vhead4 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead4 ∧ phead ≠ phead0 ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
vs[ps[vhead4].next].deqID = Some(tid1), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), noid(tid1, (qrl0 + phead0 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ qrl0 + phead0 ' from vhead4 ∨ vhead2 ∈ qrl, phead0 = vhead4 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead4 ∧ phead ≠ phead0 ∧ unmarkedp(qrl, vs), vhead4 ∈ qrl0 ∨ vhead4 = phead0, phead ∈ qrl0 ∨ phead = phead0, vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
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] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ x + a ' ≠ []; (s)
| vs[ps[vhead4].next].deqID = Some(tid1), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), noid(tid1, (qrl0 + phead0 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ qrl0 + phead0 ' from vhead4 ∨ vhead2 ∈ qrl, phead0 = vhead4 ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead4 ∧ phead ≠ phead0 ∧ unmarkedp(qrl, vs), vhead4 ∈ qrl0 ∨ vhead4 = phead0, phead ∈ qrl0 ∨ phead = phead0, vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, phead0 = vhead4, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), noid(tid1, (qrl0 + phead0 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), qrl ≠ [] → unmarkedp(qrl.tail, vs), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, phead ∈ qrl0 ∨ phead = phead0, vhead4 ∈ qrl0 ∨ vhead4 = phead0, vhead2 ∈ qrl0 + phead0 ' from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), qrl0.last = vhead4, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, phead ≠ phead0, qrl0 ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), noid(tid1, (qrl0 + phead0 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl, ps), unmarkedp(qrl, vs), phead ∈ ps, phead ∈ vs, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, phead ∈ qrl0 ∨ phead = phead0, vhead4 ∈ qrl0 ∨ vhead4 = phead0, vhead2 ∈ qrl0 + phead0 ' from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, phead0 = vhead4, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), noid(tid1, (qrl0 + phead0 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), qrl ≠ [] → unmarkedp(qrl.tail, vs), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, phead ∈ qrl0 ∨ phead = phead0, vhead4 ∈ qrl0 ∨ vhead4 = phead0, vhead2 ∈ qrl0 + phead0 ' from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, qrl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl0 + vhead4 ') + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), noid(tid1, (qrl0 + vhead4 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + vhead4 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead4].deqID), some?(vs[vhead4].deqID), unmarkedp(qrl, ps), unmarkedp(qrl.tail, vs), vhead2 ∈ ps, vhead2 ∈ vs, vhead2 ∈ qrl, phead ∈ ps, phead ∈ vs, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + vhead4 ') + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl), ¬ some?(vs[qrl.head].deqID), ¬ vhead4 ∈ qrl, ¬ vhead4 ∈ qrl0, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl0 ∨ phead = vhead4, vhead0 = qrl.last ∨ vhead0 = (vhead4 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦
Used simplifier rules: ⊦ ¬ a ∈ []; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s)
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, qrl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl0 + vhead4 ') + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), noid(tid1, (qrl0 + vhead4 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + vhead4 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead4].deqID), some?(vs[vhead4].deqID), unmarkedp(qrl, ps), unmarkedp(qrl.tail, vs), vhead2 ∈ ps, vhead2 ∈ vs, vhead2 ∈ qrl, phead ∈ ps, phead ∈ vs, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + vhead4 ') + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl), ¬ some?(vs[qrl.head].deqID), ¬ vhead4 ∈ qrl, ¬ vhead4 ∈ qrl0, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl0 ∨ phead = vhead4, vhead0 = qrl.last ∨ vhead0 = (vhead4 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ |
Used simplifier rules: ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ a + x = a ' + x; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ some?(Some(tid)); (s) ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl, head, qrl1
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid1), qrl0.last = vhead4, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, true, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, phead ≠ phead0, qrl0 ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), noid(tid1, (qrl0 + phead0 ') + qrl, ps[vhead4].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl, ps), unmarkedp(qrl, vs), phead ∈ ps, phead ∈ vs, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[vhead4].next ≠ null ∧ vs[vs[vhead4].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead4].next].deqID.tid)) = Claimed(vs[vs[vhead4].next].deqID.tid, vs[vs[vhead4].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead4, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, phead ∈ qrl0 ∨ phead = phead0, vhead4 ∈ qrl0 ∨ vhead4 = phead0, vhead2 ∈ qrl0 + phead0 ' from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
vs[ps[qrl0.last].next].deqID = Some(tid1), ps[ps[qrl0.last].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[qrl0.last].next].val), vhead1, nd, true, vhead2, ps[qrl0.last].next, vretRefs(tid1), optval0, qrl0.last, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[qrl0.last].next].val), qrl0.last ≠ vhead2, ps[qrl0.last].next ≠ null, phead ≠ phead0, qrl0 ≠ [], vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, qrl0.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), noid(tid1, (qrl0 + phead0 ') + qrl, ps[qrl0.last].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl, vs), unmarkedp(qrl, ps), qrl0.last ∈ ps, qrl0.last ∈ vs, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, phead ∈ vs, phead ∈ ps, phead ∈ qrl0, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[qrl0.last].next ≠ null ∧ vs[vs[qrl0.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[qrl0.last].next].deqID.tid)) = Claimed(vs[vs[qrl0.last].next].deqID.tid, vs[vs[qrl0.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, qrl0.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ qrl0 + phead0 ' from qrl0.last ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s)
| vs[ps[qrl0.last].next].deqID = Some(tid1), ps[ps[qrl0.last].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[qrl0.last].next].val), vhead1, nd, true, vhead2, ps[qrl0.last].next, vretRefs(tid1), optval0, qrl0.last, tid2, addr), pcf(tid1) = D21, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Claimed(tid1, vs[ps[qrl0.last].next].val), qrl0.last ≠ vhead2, ps[qrl0.last].next ≠ null, phead ≠ phead0, qrl0 ≠ [], vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, qrl0.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + phead0 ') + qrl, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), noid(tid1, (qrl0 + phead0 ') + qrl, ps[qrl0.last].next, vs), nonullRetRefs((qrl0 + phead0 ') + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl, vs), unmarkedp(qrl, ps), qrl0.last ∈ ps, qrl0.last ∈ vs, vhead0 ∈ (qrl0 + phead0 ') + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, phead ∈ vs, phead ∈ ps, phead ∈ qrl0, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, vs[qrl0.last].next ≠ null ∧ vs[vs[qrl0.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[qrl0.last].next].deqID.tid)) = Claimed(vs[vs[qrl0.last].next].deqID.tid, vs[vs[qrl0.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, qrl0.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (phead0 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ qrl0 + phead0 ' from qrl0.last ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
Used simplifier rules: ⊦ x + a ' ≠ []; (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ b ' ↔ a = b; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ some?(opttid) → opttid ≠ None; (as) x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl0, phead1, y
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D28, tid2 = tid, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D28, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D28, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, lsf(tid0).tid = tid0, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D28, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: tid0
| ps[vhead3].deqID = None, lsf(tid0).tid = tid0, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid0) = D28, orl ≠ [], DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), pcf(tid0)), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D28, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), D28), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D28, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), D28), abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D28, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), D28 = D3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D28 = D4 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D28 = D5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = D6 → ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ∨ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D28 = D8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D28 = D9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D28 = D10 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D28 = D11 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D28 = D12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next), D28 = D13 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D28 = D14 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D28 = D15 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty, D28 = D16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = D17 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = D18 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D28 = D19 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D28 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success) ∧ (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ), D28 = D21 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first), D28 = D22 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D28 = D23 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D28 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D28 = D25 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D28 = D26 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D28 = D27 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D28 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D28 = D29 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D28 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D28 = D31 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D28 = D34 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D28 = E2 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E6 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D28 = E7 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D28 = E8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D28 = E9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D28 = E10 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D28 = E11 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D28 = E12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null, D28 = E13 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E14 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = E15 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D28 = E4 ∨ D28 = E10 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null), D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = D13 ∨ D28 = D14 ∨ D28 = D15 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success, D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 ∨ D28 = E1 ∨ D28 = E12 ∨ D28 = E17 → noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D28 = E10 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D28 = E11 → ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D28 = E4 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), D28
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead3].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr), pcf(tid1) = D28, orl ≠ [], abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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), D28 = D3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D28 = D4 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D28 = D5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = D6 → ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ∨ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D28 = D8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D28 = D9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D28 = D10 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D28 = D11 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next) ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next), D28 = D12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next), D28 = D13 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D28 = D14 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null, D28 = D15 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] = Empty, D28 = D16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = D17 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = D18 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D28 = D19 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D28 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success) ∧ (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ), D28 = D21 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first) ∧ noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first), D28 = D22 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D28 = D23 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D28 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ], D28 = D25 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID .tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D28 = D26 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D28 = D27 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val)), D28 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D28 = D29 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D28 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).othertid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val), D28 = D31 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .deqID ≠ None ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ] .next, D28 = D34 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Empty ⊃ Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ;Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ), D28 = E2 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E3 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E5 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E6 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D28 = E7 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D28 = E8 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D28 = E9 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst), D28 = E10 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D28 = E11 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] .val = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value ∧ ( mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Weak(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∨ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node), D28 = E12 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null, D28 = E13 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E14 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = E15 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ≠ null, D28 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D28 = E4 ∨ D28 = E10 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node) = Some(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mk(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).value, None, null), D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ] = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node ], D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = D13 ∨ D28 = D14 ∨ D28 = D15 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Pending(mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → ¬ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success, D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst, D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) = mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).rvref ≠ null, D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid)) = Claimed (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval.val) ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 → mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ∈ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).addr ≠ null ∧ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).optval = Val (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt ] .val), D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first → nextnottid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).first, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → noid (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).nxt, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 ∨ D28 = E1 ∨ D28 = E12 ∨ D28 = E17 → noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D28 = E10 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D28 = E11 → ( mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).lst ] .next ⊃ oneweakowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D28 = E4 → (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).success ⊃ noowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).tid, mkls(tid1, val, optval, vhead1, nd, obsEmpty, vhead2, vhead3, rvref, optval0, vhead4, tid2, addr).node, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
vs[ps[vhead4].next].deqID = Some(tid2), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, addr ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead4 ∈ orl, vhead0 ∈ orl + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, addr ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: ⊦ Val(val).val = val; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[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 ⊦ D3 ≠ D28; (s) ⊦ D4 ≠ D28; (s) ⊦ D5 ≠ D28; (s) ⊦ D6 ≠ D28; (s) ⊦ D8 ≠ D28; (s) ⊦ D9 ≠ D28; (s) ⊦ D10 ≠ D28; (s) ⊦ D11 ≠ D28; (s) ⊦ D12 ≠ D28; (s) ⊦ D13 ≠ D28; (s) ⊦ D14 ≠ D28; (s) ⊦ D15 ≠ D28; (s) ⊦ D16 ≠ D28; (s) ⊦ D17 ≠ D28; (s) ⊦ D18 ≠ D28; (s) ⊦ D19 ≠ D28; (s) ⊦ D20 ≠ D28; (s) ⊦ D21 ≠ D28; (s) ⊦ D22 ≠ D28; (s) ⊦ D23 ≠ D28; (s) ⊦ D24 ≠ D28; (s) ⊦ D25 ≠ D28; (s) ⊦ D26 ≠ D28; (s) ⊦ D27 ≠ D28; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .othertid = tid0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .addr = rvref0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ D28 ≠ D29; (s) ⊦ D28 ≠ D30; (s) ⊦ D28 ≠ D31; (s) ⊦ D28 ≠ D34; (s) ⊦ D28 ≠ E2; (s) ⊦ D28 ≠ E3; (s) ⊦ D28 ≠ E5; (s) ⊦ D28 ≠ E6; (s) ⊦ D28 ≠ E7; (s) ⊦ D28 ≠ E8; (s) ⊦ D28 ≠ E9; (s) ⊦ D28 ≠ E10; (s) ⊦ D28 ≠ E11; (s) ⊦ D28 ≠ E12; (s) ⊦ D28 ≠ E13; (s) ⊦ D28 ≠ E14; (s) ⊦ D28 ≠ E15; (s) ⊦ D28 ≠ E16; (s) ⊦ D28 ≠ E4; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D7 ≠ D28; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D2 ≠ D28; (s) ⊦ D1 ≠ D28; (s) ⊦ D28 ≠ E17; (s) ⊦ D28 ≠ E1; (s) ⊦ D28 ≠ ready; (s) ⊦ D28 ≠ idle; (s) ⊦ D28 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[vhead4].next].deqID = Some(tid2), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, addr ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid1, vhead, vs), noid(tid1, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead4 ∈ orl, vhead0 ∈ orl + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, addr ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid2), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead4].next ≠ null, addr ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr ∈ vrvHp, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead2, vhead4 ∈ orl, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), listp(orl + qrl, vs, ps, owns) ∧ vhead4 ∈ orl → (∃ rl1, rl2. orl = rl1 + vhead4 ' + rl2 ∧ listp(vhead4 ' + rl2 + qrl, vs, ps, owns)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used terms: ps, orl, owns, vhead4, qrl, vs
| ⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)) |
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid2), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead4].next ≠ null, addr ≠ null, orl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid1, vhead, vs), noid(tid1, orl + qrl, vhead, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr ∈ vrvHp, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead2, vhead4 ∈ orl, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), listp(orl + qrl, vs, ps, owns) ∧ vhead4 ∈ orl → (∃ rl1, rl2. orl = rl1 + vhead4 ' + rl2 ∧ listp(vhead4 ' + rl2 + qrl, vs, ps, owns)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ orl from vhead4 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
vs[ps[vhead4].next].deqID = Some(tid2), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, addr ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + vhead4 ' + qrl1) + qrl, vs, ps, owns), listp(vhead4 ' + qrl1 + qrl, vs, ps, owns), markedp(qrl1, vs), markedp(qrl0, vs), markedp(qrl1, ps), markedp(qrl0, ps), nextnottid(tid1, vhead, vs), noid(tid1, (qrl0 + vhead4 ' + qrl1) + qrl, vhead, vs), nonullRetRefs((qrl0 + vhead4 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead4].deqID), some?(ps[vhead4].deqID), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead0 ∈ (qrl0 + vhead4 ' + qrl1) + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, addr ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead4 ∈ qrl, ¬ vhead4 ∈ qrl1, ¬ vhead4 ∈ qrl0, 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl, vhead0 = (vhead4 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead4 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (vhead4 ' + qrl1).last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead4 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead4 ' + qrl1).butlast).last = vhead ∧ phead ≠ (vhead4 ' + qrl1).last ∧ unmarkedp(qrl, vs), phead ∈ qrl0 ∨ phead = vhead4 ∨ phead ∈ qrl1 ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
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] ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (x + a ' + y).butlast = x + (a ' + y).butlast; (s) ⊦ ¬ a ∈ x ∧ ¬ a ∈ y → (dups(x + a ' + y) ↔ dups(x + y)); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' + y ≠ []; (s) ⊦ x = y + a ' + z → a ∈ x; (s)
| vs[ps[vhead4].next].deqID = Some(tid2), ps[ps[vhead4].next].deqID = None, dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(vretRefs(tid1)) = Pending(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), ps[vhead4].next ≠ null, addr ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + vhead4 ' + qrl1) + qrl, vs, ps, owns), listp(vhead4 ' + qrl1 + qrl, vs, ps, owns), markedp(qrl1, vs), markedp(qrl0, vs), markedp(qrl1, ps), markedp(qrl0, ps), nextnottid(tid1, vhead, vs), noid(tid1, (qrl0 + vhead4 ' + qrl1) + qrl, vhead, vs), nonullRetRefs((qrl0 + vhead4 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead4].deqID), some?(ps[vhead4].deqID), unmarkedp(qrl, ps), vhead4 ∈ ps, vhead4 ∈ vs, vhead0 ∈ (qrl0 + vhead4 ' + qrl1) + qrl from vhead2, vretRefs(tid1) ∈ vrvHp, addr ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead4 ∈ qrl, ¬ vhead4 ∈ qrl1, ¬ vhead4 ∈ qrl0, 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf(tid), pcf(tid)), vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl, vhead0 = (vhead4 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead4 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (vhead4 ' + qrl1).last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead4 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead4 ' + qrl1).butlast).last = vhead ∧ phead ≠ (vhead4 ' + qrl1).last ∧ unmarkedp(qrl, vs), phead ∈ qrl0 ∨ phead = vhead4 ∨ phead ∈ qrl1 ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid2), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), qrl1 = [], rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead4].next ≠ null, addr ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead4 ' + qrl1 + qrl, vs, ps, owns), listp((qrl0 + vhead4 ' + qrl1) + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl1, ps), markedp(qrl0, vs), markedp(qrl1, vs), nextnottid(tid1, vhead, vs), noid(tid1, (qrl0 + vhead4 ' + qrl1) + qrl, vhead, vs), nonullRetRefs((qrl0 + vhead4 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead4].deqID), some?(vs[vhead4].deqID), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, addr ∈ vrvHp, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + vhead4 ' + qrl1) + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead4 ∈ qrl, ¬ vhead4 ∈ qrl1, ¬ vhead4 ∈ qrl0, 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl0 ∨ phead = vhead4 ∨ phead ∈ qrl1, (vhead4 ' + qrl1).last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead4 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead4 ' + qrl1).butlast).last = vhead ∧ phead ≠ (vhead4 ' + qrl1).last ∧ unmarkedp(qrl, vs), vhead0 = (vhead4 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead4 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
Used simplifier rules: reflist freely generated by [], +;; ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ x + a ' + y ≠ []; (s) ⊦ (a ' + b ' + x).butlast = a ' + (b ' + x).butlast; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a + x = a ' + x; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ some?(opttid) → opttid ≠ None; (as)
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid2), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), qrl1 = [], rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead4].next ≠ null, addr ≠ null, vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead4 ' + qrl1 + qrl, vs, ps, owns), listp((qrl0 + vhead4 ' + qrl1) + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl1, ps), markedp(qrl0, vs), markedp(qrl1, vs), nextnottid(tid1, vhead, vs), noid(tid1, (qrl0 + vhead4 ' + qrl1) + qrl, vhead, vs), nonullRetRefs((qrl0 + vhead4 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead4].deqID), some?(vs[vhead4].deqID), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, addr ∈ vrvHp, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ (qrl0 + vhead4 ' + qrl1) + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead4 ∈ qrl, ¬ vhead4 ∈ qrl1, ¬ vhead4 ∈ qrl0, 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ' + qrl1, owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl0 ∨ phead = vhead4 ∨ phead ∈ qrl1, (vhead4 ' + qrl1).last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead4 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead4 ' + qrl1).butlast).last = vhead ∧ phead ≠ (vhead4 ' + qrl1).last ∧ unmarkedp(qrl, vs), vhead0 = (vhead4 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead4 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid2), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead4].next ≠ null, addr ≠ null, qrl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead4 ' + qrl, vs, ps, owns), listp(qrl0 + vhead4 ' + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid1, vhead, vs), noid(tid1, qrl0 + vhead4 ' + qrl, vhead, vs), nonullRetRefs(qrl0 + vhead4 ' + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead4].deqID), some?(vs[vhead4].deqID), unmarkedp(qrl, ps), vhead2 ∈ ps, vhead2 ∈ vs, vhead2 ∈ qrl, phead ∈ ps, phead ∈ vs, addr ∈ vrvHp, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ qrl0 + vhead4 ' + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl), ¬ some?(vs[qrl.head].deqID), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl0 ∨ phead = vhead4, vhead4 = vhead ∧ unmarkedp(qrl.tail, vs) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead ∧ phead ≠ vhead4 ∧ unmarkedp(qrl, vs), vhead0 = qrl.last ∨ vhead0 = (vhead4 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦
Used simplifier rules: ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ ¬ a ∈ []; (s) ⊦ a '.last = a; (s) ⊦ a '.butlast = []; (s) ⊦ [] + x = x; (s) ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ ¬ dups([]); (s) ⊦ markedp([], vs); (s)
| ps[ps[vhead4].next].deqID = None, vs[ps[vhead4].next].deqID = Some(tid2), dom vrvHp = dom prvHp, lsf(tid1) = mkls(tid1, val, Val(vs[ps[vhead4].next].val), vhead1, nd, false, vhead2, ps[vhead4].next, vretRefs(tid1), optval0, vhead4, tid2, addr), pcf(tid1) = D28, pretRefs(tid1) = vretRefs(tid1), rvowns(addr) = Claimed(tid2, vs[ps[vhead4].next].val), rvowns(vretRefs(tid1)) = Pending(tid1), ps[vhead4].next ≠ null, addr ≠ null, qrl ≠ [], vhead4 ≠ vhead2, vretRefs(tid1) ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead4 ' + qrl, vs, ps, owns), listp(qrl0 + vhead4 ' + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid1, vhead, vs), noid(tid1, qrl0 + vhead4 ' + qrl, vhead, vs), nonullRetRefs(qrl0 + vhead4 ' + qrl, vs, vretRefs, pretRefs), noowns(tid1, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead4].deqID), some?(vs[vhead4].deqID), unmarkedp(qrl, ps), vhead2 ∈ ps, vhead2 ∈ vs, vhead2 ∈ qrl, phead ∈ ps, phead ∈ vs, addr ∈ vrvHp, vretRefs(tid1) ∈ vrvHp, vhead0 ∈ qrl0 + vhead4 ' + qrl from vhead2, vhead4 ∈ vs, vhead4 ∈ ps, ¬ dups(qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl), ¬ some?(vs[qrl.head].deqID), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl0 ∨ phead = vhead4, vhead4 = vhead ∧ unmarkedp(qrl.tail, vs) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead ∧ phead ≠ vhead4 ∧ unmarkedp(qrl, vs), vhead0 = qrl.last ∨ vhead0 = (vhead4 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ |
Used simplifier rules: ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ some?(Some(tid)); (s) ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl, head, qrl1
| doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, gs1 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns), lsf2 = lsf, pcf2 = pcf, orl ≠ [], vtail0 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail0 ∈ vs, vtail0 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail0 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vtail0 ∈ ps, vtail0 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID)
| doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail0 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vtail0 ∈ ps, vtail0 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
Used simplifier rules: ⊦ doDeq(tid) ≠ τ; (s) ⊦ doDeq(tid) ≠ doEnq(tid0); (s)
| doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, gs1 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf2 = lsf, pcf2 = pcf, orl ≠ [], vtail1 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail1 ∈ vs, vtail1 ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ qrl ≠ [] ∧ some?(vs[qrl.head].deqID) |
doDeq(tid) = (vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], qrl ≠ [], vtail1 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail1 ∈ vs, vtail1 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ¬ some?(vs[qrl.head].deqID), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = qrl.last ∨ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ unmarkedp(qrl.tail, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ doDeq(tid) ≠ τ; (s)
| doDeq(tid) = (vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], qrl ≠ [], vtail1 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail1 ∈ vs, vtail1 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ¬ some?(vs[qrl.head].deqID), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = qrl.last ∨ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, orl.last = vhead ∧ unmarkedp(qrl.tail, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ |
doDeq(tid) = (vtail1 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, qrl = vhead1 + orl0, orl ≠ [], qrl ≠ [], vtail1 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vtail1 ∈ ps, vtail1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ¬ some?(vs[vhead1].deqID), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = qrl.last ∨ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦
Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl, head, orl0
| doDeq(tid) = (vtail1 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, qrl = vhead1 + orl0, orl ≠ [], qrl ≠ [], vtail1 ≠ null, abs(mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), vtail1 ∈ ps, vtail1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), ¬ some?(vs[vhead1].deqID), 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = qrl.last ∨ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null ⊦ |
ps[vhead1].deqID = None, doDeq(tid) = (vtail1 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail1 ∈ vs, vtail1 ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ orl0, 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null, orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead1].deqID = None ∧ unmarkedp(orl0, vs) ⊦
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] ⊦ a + x = a ' + x; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ' + x ≠ []; (s)
| ps[vhead1].deqID = None, doDeq(tid) = (vtail1 = vhead1 ∧ vs[vhead1].deqID ≠ None ⊃ doDeq(vs[vhead1].deqID.tid);τ), dom vrvHp = dom prvHp, orl ≠ [], vtail1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, vtail1 ∈ vs, vtail1 ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ orl0, 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null, orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead1].deqID = None ∧ unmarkedp(orl0, vs) ⊦ |
ps[vhead1].deqID = None, doDeq(tid) = doDeq(vs[vhead1].deqID.tid), dom vrvHp = dom prvHp, vtail1 = vhead1, vs[vhead1].deqID ≠ None, orl ≠ [], vtail1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), vtail1 ∈ ps, vtail1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ orl0, 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead1].deqID = None ∧ unmarkedp(orl0, vs), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ doDeq(tid) ≠ τ; (s)
| ps[vhead1].deqID = None, doDeq(tid) = doDeq(vs[vhead1].deqID.tid), dom vrvHp = dom prvHp, vtail1 = vhead1, vs[vhead1].deqID ≠ None, orl ≠ [], vtail1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, ps), vtail1 ∈ ps, vtail1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ orl0, 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), orl.last = vhead ∧ unmarkedp(orl0, vs) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = vhead ∧ phead ≠ orl.last ∧ vs[vhead1].deqID = None ∧ unmarkedp(orl0, vs), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦ |
ps[vhead1].deqID = None, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead1 ∈ ps, vhead1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ doDeq(tid) = doDeq(tid0) ↔ tid = tid0; (s)
| ps[vhead1].deqID = None, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead1 ∈ ps, vhead1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦ |
⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ [])
ps[vhead1].deqID = None, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead ∈ vs, phead ∈ ps, vhead1 ∈ vs, vhead1 ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), listp(orl + vhead1 ' + orl0, vs, ps, owns) → (listp(vhead1 ' + orl0, vs, ps, owns) ↔ vhead1 ' + orl0 ≠ []), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦
Used terms: ps, orl, owns, vhead1 ' + orl0, vs
| ⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ []) |
| ps[vhead1].deqID = None, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead ∈ vs, phead ∈ ps, vhead1 ∈ vs, vhead1 ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), listp(orl + vhead1 ' + orl0, vs, ps, owns) → (listp(vhead1 ' + orl0, vs, ps, owns) ↔ vhead1 ' + orl0 ≠ []), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦ |
ps[vhead1].deqID = None, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), listp(vhead1 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead1 ∈ ps, vhead1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ' + x ≠ []; (s)
| ps[vhead1].deqID = None, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead1 ' + orl0, vs, ps, owns), listp(vhead1 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead1 ∈ ps, vhead1 ∈ vs, phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦ |
ps[vhead1].deqID = None, Weak(tid) = vs[vhead1].deqID, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vhead1 ' + orl0, vs, ps, owns), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead ∈ vs, phead ∈ ps, vhead1 ∈ vs, vhead1 ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦
Used simplifier rules: OptTid freely generated by None, Some, Weak;; ⊦ None ≠ Some(tid); (s) ⊦ some?(Some(tid)); (s)
| ps[vhead1].deqID = None, Weak(tid) = vs[vhead1].deqID, dom vrvHp = dom prvHp, vs[vhead1].deqID ≠ None, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vhead1 ' + orl0, vs, ps, owns), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead ∈ vs, phead ∈ ps, vhead1 ∈ vs, vhead1 ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ some?(vs[vhead1].deqID), ¬ vhead1 ∈ orl0, ¬ vhead1 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦ |
ps[vhead1].deqID = None, Weak(tid) = vs[vhead1].deqID, dom vrvHp = dom prvHp, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vhead1 ' + orl0, vs, ps, owns), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead ∈ vs, phead ∈ ps, vhead1 ∈ vs, vhead1 ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ ¬ some?(Weak(tid)); (s) ⊦ None ≠ Weak(tid); (s)
| ps[vhead1].deqID = None, Weak(tid) = vs[vhead1].deqID, dom vrvHp = dom prvHp, orl ≠ [], vhead1 ≠ null, abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vhead1 ' + orl0, vs, ps, owns), listp(orl + vhead1 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + vhead1 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead ∈ vs, phead ∈ ps, vhead1 ∈ vs, vhead1 ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ vhead1 ∈ orl, ¬ vhead1 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead1 ' + orl0, orl, owns, rvowns), lsf(tid0), pcf(tid0)), vhead0 = (vhead1 ' + orl0).last ∨ vhead0 = (orl + (vhead1 ' + orl0).butlast).last ∧ vs[(vhead1 ' + orl0).last].deqID = None ∧ vs[(vhead1 ' + orl0).last].next = null ⊦ |
Used simplifier rules: reflist freely generated by [], +;; ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ (a ' + b ' + x).butlast = a ' + (b ' + x).butlast; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ a + x = a ' + x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ weak?(Weak(tid)); (s) ⊦ unmarkedp([], vs); (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ a '.last = a; (s) ⊦ x + [] = x; (s)
| lsf(gs.vs[gs.qrl.head].deqID.tid).first = gs.orl.last, gs.orl.last = gs.vhead, lsf(gs.vs[gs.qrl.head].deqID.tid).nxt = gs.qrl.head, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(gs.vs[gs.qrl.head].deqID.tid) = D20 ∧ lsf(gs.vs[gs.qrl.head].deqID.tid).success ∨ pcf(gs.vs[gs.qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid).first = orl.last, orl.last = vhead, lsf(vs[qrl.head].deqID.tid).nxt = qrl.head, gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ lsf(vs[qrl.head].deqID.tid).success ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
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
| lsf(vs[qrl.head].deqID.tid).first = orl.last, orl.last = vhead, lsf(vs[qrl.head].deqID.tid).nxt = qrl.head, gs = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ lsf(vs[qrl.head].deqID.tid).success ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid).first = orl.last, lsf(vs[qrl.head].deqID.tid).nxt = qrl.head, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ lsf(vs[qrl.head].deqID.tid).success ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
| lsf(vs[qrl.head].deqID.tid).first = orl.last, lsf(vs[qrl.head].deqID.tid).nxt = qrl.head, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ lsf(vs[qrl.head].deqID.tid).success ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, vhead2, rvref, optval0, vhead3, tid1, addr), vhead2 = qrl.head, vhead3 = orl.last, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
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, node, nd, lsf(vs[qrl.head].deqID.tid), addr, tid0, lst, first, rvref, othertid, success, optval
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, vhead2, rvref, optval0, vhead3, tid1, addr), vhead2 = qrl.head, vhead3 = orl.last, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), DMSQstep (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), doDeq(tid), mkstate(gs0, lsf0, pcf0)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ DMSQstep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) ↔ (∃ tid, ls, pc. lstep(gs, lsf(tid), pcf(tid), a, gs0, ls, pc) ∧ lsf0 = lsf(tid; ls) ∧ pcf0 = pcf(tid; pc)) ∨ a = globalFLUSHHEAD ∧ gs0 = gs.phead:= gs.vhead ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ (∃ r. a = globalFLUSHVAL(r) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = gs.ps:= gs.ps[r, gs.ps[r].val:= gs.vs[r].val] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ doEnq(gs.owns(gs.vs[r].next).tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].next:= gs.vs[r].next]) .qrl:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.qrl + gs.vs[r].next;gs.qrl)) .owns:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.owns(gs.vs[r].next; None);gs.owns) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ doDeq(gs.vs[r].deqID.tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].deqID:= gs.vs[r].deqID]) .orl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.qrl.tail;gs.qrl) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ tid. a = τ ∧ gs0 = gs.pretRefs:= gs.pretRefs(tid; gs.vretRefs(tid)) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ rvref. a = τ ∧ (rvref ∈ gs.vrvHp ∧ rvref ∈ gs.prvHp ∧ rvref ≠ null) ∧ gs0 = gs.prvHp:= gs.prvHp[rvref, gs.vrvHp[rvref]] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ a = globalCRASH ∧ ⟨ps := gs.ps, phead := gs.phead, pretRefs := gs.pretRefs, prvHp := gs.prvHp, vs := gs.vs, vhead := gs.vhead, vtail := gs.vtail, vretRefs := gs.vretRefs, vrvHp := gs.vrvHp, owns := gs.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs := (((((gs.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs ∧ lsf0 = lsf ∧ pcf0 = pcf)
(∃ tid, ls, pc. lstep(gs2, lsf1(tid), pcf1(tid), ca, gs1, ls, pc) ∧ lsf2 = lsf1(tid; ls) ∧ pcf2 = pcf1(tid; pc)) ∨ ca = globalFLUSHHEAD ∧ gs1 = gs2.phead:= gs2.vhead ∧ lsf2 = lsf1 ∧ pcf2 = pcf1 ∨ (∃ r. ca = globalFLUSHVAL(r) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = gs2.ps:= gs2.ps[r, gs2.ps[r].val:= gs2.vs[r].val] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ doEnq(gs2.owns(gs2.vs[r].next).tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].next:= gs2.vs[r].next]) .qrl:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.qrl + gs2.vs[r].next;gs2.qrl)) .owns:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.owns(gs2.vs[r].next; None);gs2.owns) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ doDeq(gs2.vs[r].deqID.tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].deqID:= gs2.vs[r].deqID]) .orl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.orl + gs2.qrl.head;gs2.orl)) .qrl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.qrl.tail;gs2.qrl) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ tid. ca = τ ∧ gs1 = gs2.pretRefs:= gs2.pretRefs(tid; gs2.vretRefs(tid)) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ rvref. ca = τ ∧ (rvref ∈ gs2.vrvHp ∧ rvref ∈ gs2.prvHp ∧ rvref ≠ null) ∧ gs1 = gs2.prvHp:= gs2.prvHp[rvref, gs2.vrvHp[rvref]] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ ca = globalCRASH ∧ ⟨ps := gs2.ps, phead := gs2.phead, pretRefs := gs2.pretRefs, prvHp := gs2.prvHp, vs := gs2.vs, vhead := gs2.vhead, vtail := gs2.vtail, vretRefs := gs2.vretRefs, vrvHp := gs2.vrvHp, owns := gs2.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf1); gs2 := (((((gs2.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs1 = gs2 ∧ lsf2 = lsf1 ∧ pcf2 = pcf1), ca = doDeq(tid), gs1 = gs0, gs2 = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: lsf, doDeq(tid), gs0, pcf, mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0
| ⊦ DMSQstep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) ↔ (∃ tid, ls, pc. lstep(gs, lsf(tid), pcf(tid), a, gs0, ls, pc) ∧ lsf0 = lsf(tid; ls) ∧ pcf0 = pcf(tid; pc)) ∨ a = globalFLUSHHEAD ∧ gs0 = gs.phead:= gs.vhead ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ (∃ r. a = globalFLUSHVAL(r) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = gs.ps:= gs.ps[r, gs.ps[r].val:= gs.vs[r].val] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ doEnq(gs.owns(gs.vs[r].next).tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].next:= gs.vs[r].next]) .qrl:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.qrl + gs.vs[r].next;gs.qrl)) .owns:= (r = (gs.orl + gs.qrl).last ∧ gs.vs[r].next ≠ null ⊃ gs.owns(gs.vs[r].next; None);gs.owns) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ r. a = (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ doDeq(gs.vs[r].deqID.tid);τ) ∧ (r ∈ gs.vs ∧ r ∈ gs.ps ∧ r ≠ null) ∧ gs0 = ( (gs.ps:= gs.ps[r, gs.ps[r].deqID:= gs.vs[r].deqID]) .orl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.qrl ≠ [] ∧ r = gs.qrl.head ∧ gs.vs[r].deqID ≠ None ⊃ gs.qrl.tail;gs.qrl) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ tid. a = τ ∧ gs0 = gs.pretRefs:= gs.pretRefs(tid; gs.vretRefs(tid)) ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ (∃ rvref. a = τ ∧ (rvref ∈ gs.vrvHp ∧ rvref ∈ gs.prvHp ∧ rvref ≠ null) ∧ gs0 = gs.prvHp:= gs.prvHp[rvref, gs.vrvHp[rvref]] ∧ lsf0 = lsf ∧ pcf0 = pcf) ∨ a = globalCRASH ∧ ⟨ps := gs.ps, phead := gs.phead, pretRefs := gs.pretRefs, prvHp := gs.prvHp, vs := gs.vs, vhead := gs.vhead, vtail := gs.vtail, vretRefs := gs.vretRefs, vrvHp := gs.vrvHp, owns := gs.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs := (((((gs.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs ∧ lsf0 = lsf ∧ pcf0 = pcf) |
| (∃ tid, ls, pc. lstep(gs2, lsf1(tid), pcf1(tid), ca, gs1, ls, pc) ∧ lsf2 = lsf1(tid; ls) ∧ pcf2 = pcf1(tid; pc)) ∨ ca = globalFLUSHHEAD ∧ gs1 = gs2.phead:= gs2.vhead ∧ lsf2 = lsf1 ∧ pcf2 = pcf1 ∨ (∃ r. ca = globalFLUSHVAL(r) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = gs2.ps:= gs2.ps[r, gs2.ps[r].val:= gs2.vs[r].val] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ doEnq(gs2.owns(gs2.vs[r].next).tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].next:= gs2.vs[r].next]) .qrl:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.qrl + gs2.vs[r].next;gs2.qrl)) .owns:= (r = (gs2.orl + gs2.qrl).last ∧ gs2.vs[r].next ≠ null ⊃ gs2.owns(gs2.vs[r].next; None);gs2.owns) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca = (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ doDeq(gs2.vs[r].deqID.tid);τ) ∧ (r ∈ gs2.vs ∧ r ∈ gs2.ps ∧ r ≠ null) ∧ gs1 = ( (gs2.ps:= gs2.ps[r, gs2.ps[r].deqID:= gs2.vs[r].deqID]) .orl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.orl + gs2.qrl.head;gs2.orl)) .qrl:= (gs2.qrl ≠ [] ∧ r = gs2.qrl.head ∧ gs2.vs[r].deqID ≠ None ⊃ gs2.qrl.tail;gs2.qrl) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ tid. ca = τ ∧ gs1 = gs2.pretRefs:= gs2.pretRefs(tid; gs2.vretRefs(tid)) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ rvref. ca = τ ∧ (rvref ∈ gs2.vrvHp ∧ rvref ∈ gs2.prvHp ∧ rvref ≠ null) ∧ gs1 = gs2.prvHp:= gs2.prvHp[rvref, gs2.vrvHp[rvref]] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ ca = globalCRASH ∧ ⟨ps := gs2.ps, phead := gs2.phead, pretRefs := gs2.pretRefs, prvHp := gs2.prvHp, vs := gs2.vs, vhead := gs2.vhead, vtail := gs2.vtail, vretRefs := gs2.vretRefs, vrvHp := gs2.vrvHp, owns := gs2.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf1); gs2 := (((((gs2.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs1 = gs2 ∧ lsf2 = lsf1 ∧ pcf2 = pcf1), ca = doDeq(tid), gs1 = gs0, gs2 = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc) ∧ lsf0 = lsf(tid2; ls) ∧ pcf0 = pcf(tid2; pc) ∨ doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs0 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs0 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf0 = lsf ∧ pcf0 = pcf, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ doDeq(tid) ≠ globalCRASH; (s) ⊦ doDeq(tid) ≠ τ; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (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) .orl:= qrl2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl2, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ x + a = x + a '; (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) ⊦ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ doDeq(tid) ≠ globalFLUSHVAL(node); (s) ⊦ doDeq(tid) ≠ globalFLUSHHEAD; (s)
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc) ∧ lsf0 = lsf(tid2; ls) ∧ pcf0 = pcf(tid2; pc) ∨ doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ) ∧ vtail0 ∈ vs ∧ vtail0 ∈ ps ∧ vtail0 ≠ null ∧ gs0 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ) ∧ vtail1 ∈ vs ∧ vtail1 ∈ ps ∧ vtail1 ≠ null ∧ gs0 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns) ∧ lsf0 = lsf ∧ pcf0 = pcf, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf0 = lsf(tid2; ls), pcf0 = pcf(tid2; pc), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), gs0 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf0 = lsf, pcf0 = pcf, vtail0 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail0 ∈ vs, vtail0 ∈ ps, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), gs0 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf0 = lsf, pcf0 = pcf, vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ vs, vtail1 ∈ ps, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf0 = lsf(tid2; ls), pcf0 = pcf(tid2; pc), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid)))
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf
| ⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid))) |
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid))
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), q = content (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: alsf, lsf, q, apcf, pcf, mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)
| ⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid)) |
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), q = content (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s)
| lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: tid2
| abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(tid2).tid = tid2, abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: tid2
| lsf(tid2).tid = tid2, abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid3, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), tid3 = tid2, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
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, optval1, node, nd0, lsf(tid2), addr0, tid3, lst, first, rvref0, othertid, success, optval1
| abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid3, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), tid3 = tid2, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)), lstep(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid2), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), lstep (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), lstep (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid), gs0, ls, pc), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ lstep(gs, ls, pc, a, gs0, ls0, pc0) ↔ pre(gs, ls, pc, a) ∧ ls0 = lstepf(gs, ls, pc, a) ∧ gs0 = gstepf(gs, ls, pc, a) ∧ pc0 = pcstepf(gs, ls, pc, a)
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), gs0 = gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), ls = lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pc = pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), pre (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: doDeq(tid), ls, pc, pcf(tid2), gs0, mkls (tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)
| ⊦ lstep(gs, ls, pc, a, gs0, ls0, pc0) ↔ pre(gs, ls, pc, a) ∧ ls0 = lstepf(gs, ls, pc, a) ∧ gs0 = gstepf(gs, ls, pc, a) ∧ pc0 = pcstepf(gs, ls, pc, a) |
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), gs0 = gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), ls = lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pc = pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), pre (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf(tid2; ls), pcf(tid2; pc)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: pre-doDeq: ⊦ pre(gs, ls, pc, doDeq(tid)) ↔ gs.ps[ls.nxt].deqID = None ∧ (pc = D21 ∧ ls.tid = tid ∨ pc = D28 ∧ ls.othertid = tid); ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .othertid = tid0; (s) ⊦ 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) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, lsf(vs[qrl.head].deqID.tid).tid = vs[qrl.head].deqID.tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: vs[qrl.head].deqID.tid
| ps[vhead4].deqID = None, lsf(vs[qrl.head].deqID.tid).tid = vs[qrl.head].deqID.tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: vs[qrl.head].deqID.tid
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(vs[qrl.head].deqID.tid), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ DMSQGInv(gs) ↔ 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)
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ] .next = null ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)
| ⊦ DMSQGInv(gs) ↔ 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) |
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ).last ] .next = null ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(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 ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (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) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .phead = phead; (s) ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp = vrvHp0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (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) .ps = ps; (s)
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, pcf(tid) = D21 ∧ tid2 = tid ∨ pcf(tid2) = D28 ∧ tid4 = tid, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid) = D21, tid2 = tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2) = D28, tid4 = tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid) = D21, tid2 = tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21, alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ pcstepf(gs, ls, D21, a) = D22; (s) ⊦ lstepf(gs, ls, D21, a) = ls; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl:= qrl2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl2, owns, rvowns); (s) ⊦ x + a = x + a '; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (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) .vs = ps0; (s) ⊦ gstepf(gs, ls, D21, a) = ( ( gs .ps:= gs.ps [ls.nxt, gs.ps[ls.nxt].deqID:= gs.vs[ls.nxt].deqID ]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s)
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21, alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[vhead4].deqID = None, mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid = alsf(tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∧ ¬ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∧ ( mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null) ∨ D21 = E11 ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value = alsf(tid).ival, (D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14) ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null → alsf(tid).obsEmpty, D21 = D20 ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∨ D21 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∨ D21 = D22 → alsf(tid).oval = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval, D21 = D15 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D6 ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∨ D21 = D34 → alsf(tid).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21, alsf(tid)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[vhead4].deqID = None, mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid = alsf(tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∧ ¬ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∧ ( mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null) ∨ D21 = E11 ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value = alsf(tid).ival, (D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14) ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null → alsf(tid).obsEmpty, D21 = D20 ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∨ D21 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∨ D21 = D22 → alsf(tid).oval = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval, D21 = D15 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D6 ∧ mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∨ D21 = D34 → alsf(tid).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid) = D21, tid = alsf(tid).tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D21 ≠ D22; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D20 ≠ D21; (s) ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid) = D21, tid = alsf(tid).tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, tid = tid0, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty1, alsf(tid), oval, tid0, optval3
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid) = mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, tid = tid0, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid; mkls(tid, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid0) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid0; mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)))))
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid0) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid0; mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))))) |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D21 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = D6 → ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Empty ∨ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ;Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, D21 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst, D21 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next), D21 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next), D21 = D12 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next), D21 = D13 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null, D21 = D14 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] = Empty ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null, D21 = D15 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] = Empty, D21 = D16 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = D17 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = D18 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next, D21 = D19 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val), D21 = D20 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success) ∧ (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first) ∧ noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ), D21 = D21 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first) ∧ noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first), D21 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next, D21 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ], D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ], D21 = D25 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID .tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val)), D21 = D26 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid)) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val)), D21 = D27 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val)), D21 = D28 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val), D21 = D29 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val), D21 = D30 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val), D21 = D31 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next, D21 = D34 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ] ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Empty ⊃ Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ;Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst), D21 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst), D21 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst), D21 = E10 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] .val = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Weak(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∨ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node), D21 = E11 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] .val = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Weak(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∨ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node), D21 = E12 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mk(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mk(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → nextnottid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D21 = E10 → (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D21 = E4 → (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid0; mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D21 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = D6 → ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Empty ∨ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ;Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, D21 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst, D21 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next), D21 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next) ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next), D21 = D12 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next), D21 = D13 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null, D21 = D14 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] = Empty ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null, D21 = D15 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] = Empty, D21 = D16 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = D17 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = D18 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next, D21 = D19 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val), D21 = D20 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success) ∧ (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first) ∧ noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ), D21 = D21 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first) ∧ noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first), D21 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next, D21 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ], D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ] ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ], D21 = D25 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID .tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val)), D21 = D26 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid)) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val)), D21 = D27 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val)), D21 = D28 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val), D21 = D29 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val), D21 = D30 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).othertid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val), D21 = D31 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .deqID ≠ None ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ] .next, D21 = D34 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ] ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Empty ⊃ Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ;Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst), D21 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst), D21 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst), D21 = E10 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] .val = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Weak(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∨ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node), D21 = E11 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] .val = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value ∧ ( mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Weak(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∨ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node), D21 = E12 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node) = Some(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mk(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mk(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Pending(mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) = mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid)) = Claimed (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval.val) ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).addr ≠ null ∧ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first → nextnottid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D21 = E10 → (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).lst ] .next ⊃ oneweakowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D21 = E4 → (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).success ⊃ noowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).tid, mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= vs[vhead4].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid0; mkls(tid0, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0)), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))))) |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + qrl, ps[orl.last].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead0 ∈ orl + qrl from vhead3, vhead3 ∈ orl + qrl from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)))))
Used simplifier rules: ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + qrl, ps[orl.last].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead0 ∈ orl + qrl from vhead3, vhead3 ∈ orl + qrl from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))))) |
ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), qrl = vhead4 + qrl0, rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], qrl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + qrl, ps[orl.last].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + qrl from orl.last, vhead0 ∈ orl + qrl from vhead3, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)))))
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] rl ≠ [] ⊦ ¬ dups(rl) → rl from rl.last = rl.last '; (s) ⊦ a ∈ b ' ↔ a = b; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, vhead4, y
| ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), qrl = vhead4 + qrl0, rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], qrl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + qrl, ps[orl.last].next, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + qrl from orl.last, vhead0 ∈ orl + qrl from vhead3, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl0, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(content(qrl, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))))) |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ pre(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)))))
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] ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ a + x = a ' + x; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ pre(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))))) |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), (D21 = idle ⊃ idle ;(D21 = ready ⊃ ready ;(D21 = crashed ⊃ crashed ;( D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∧ ¬ mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∧ ( mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success → mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst ] .next = null) ∨ D21 = E11 ∧ mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst ] .next = null ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ⊃ invEnq ;(D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E4 ∨ D21 = E13 ∨ D21 = E17 ⊃ resEnq ;( D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∧ ¬ mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∧ ( mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None) ∨ D21 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ pre(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), D21
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), (D21 = idle ⊃ idle ;(D21 = ready ⊃ ready ;(D21 = crashed ⊃ crashed ;( D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∧ ¬ mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∧ ( mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success → mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst ] .next = null) ∨ D21 = E11 ∧ mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .lst ] .next = null ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ⊃ invEnq ;(D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E4 ∨ D21 = E13 ∨ D21 = E17 ⊃ resEnq ;( D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∧ ¬ mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∧ ( mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None) ∨ D21 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ pre(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)) ∧ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate (gstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0)), alsf(tid0; lstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))), apcf(tid0; pcstepf(mkgs(ps[vhead4].val ' + content(qrl0, ps)), mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), apcf(tid0), DoDeq(tid0))))) |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate(mkgs(content(qrl0, ps)), alsf(tid0; mkls(tid0, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), apcf(tid0; resDeq))), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ pcstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = resDeq; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ (a ' + x).head = a; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ lstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = mkls(tid, obsEmpty, ival, Val(gs.queue.head), value, optval); (s) ⊦ mkgs(queue).queue:= queue0 = mkgs(queue0); (s) ⊦ (a ' + x).tail = x; (s) ⊦ gstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = gs.queue:= gs.queue.tail; (s) ⊦ a ' + x ≠ []; (s) ⊦ DoDeq(tid) = DoDeq(tid0) ↔ tid = tid0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ DoDeq(tid) ≠ DoDeqEmpty(tid0); (s) ⊦ CheckEmp(tid) ≠ DoDeq(tid0); (s) ⊦ pre(gs, ls, invDeq, a) ↔ a = CheckEmp(ls.tid) ∧ gs.queue = [] ∨ a = DoDeqEmpty(ls.tid) ∧ ls.obsEmpty ∨ a = DoDeq(ls.tid) ∧ gs.queue ≠ []; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D7 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ abs (mkstate (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), pcf(tid0; D22)), mkstate(mkgs(content(qrl0, ps)), alsf(tid0; mkls(tid0, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), apcf(tid0; resDeq))), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid))
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, content(qrl0, ps) ≠ content (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .qrl, mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ) (tid), pcf(tid0; D22)(tid), alsf(tid0; mkls(tid0, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4))(tid)) ∧ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ) (tid), pcf(tid0; D22)(tid)) = apcf(tid0; resDeq)(tid))) ⊦
Used terms: alsf(tid0; mkls(tid0, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), lsf (tid0 ; mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ), content(qrl0, ps), apcf(tid0; resDeq), pcf(tid0; D22), mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns)
| ⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid)) |
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, content(qrl0, ps) ≠ content (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .qrl, mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ) (tid), pcf(tid0; D22)(tid), alsf(tid0; mkls(tid0, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4))(tid)) ∧ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf (tid0 ; mkls (tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0) ) (tid), pcf(tid0; D22)(tid)) = apcf(tid0; resDeq)(tid))) ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid)), (tid0 = tid ⊃ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid))) ≠ (tid0 = tid ⊃ resDeq;apcf(tid)) ⊦
Used simplifier rules: ⊦ content(orl, ps[r, ps[r].deqID:= opttid]) = content(orl, ps); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid)), (tid0 = tid ⊃ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid))) ≠ (tid0 = tid ⊃ resDeq;apcf(tid)) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), tid0 = tid, orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid)), (tid0 = tid ⊃ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid))) ≠ (tid0 = tid ⊃ resDeq;apcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid)), (tid0 = tid ⊃ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid))) ≠ (tid0 = tid ⊃ resDeq;apcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used formulas: tid0 = tid
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), tid0 = tid, orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid)), (tid0 = tid ⊃ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid))) ≠ (tid0 = tid ⊃ resDeq;apcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22) ≠ resDeq ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22) ≠ resDeq ⊦ |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)) ∨ (D22 = idle ⊃ idle ;(D22 = ready ⊃ ready ;(D22 = crashed ⊃ crashed ;( D22 = E1 ∨ D22 = E2 ∨ D22 = E3 ∨ D22 = E4 ∧ ¬ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = E5 ∨ D22 = E6 ∨ D22 = E7 ∨ D22 = E8 ∨ D22 = E9 ∨ D22 = E10 ∧ ( mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success → mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null) ∨ D22 = E11 ∧ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null ∨ D22 = E13 ∨ D22 = E14 ∨ D22 = E15 ∨ D22 = E16 ⊃ invEnq ;(D22 = E10 ∨ D22 = E11 ∨ D22 = E12 ∨ D22 = E4 ∨ D22 = E13 ∨ D22 = E17 ⊃ resEnq ;( D22 = D1 ∨ D22 = D2 ∨ D22 = D3 ∨ D22 = D4 ∨ D22 = D5 ∨ D22 = D6 ∧ ¬ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = D7 ∨ D22 = D8 ∨ D22 = D9 ∨ D22 = D10 ∨ D22 = D11 ∨ D22 = D12 ∨ D22 = D13 ∨ D22 = D14 ∨ D22 = D16 ∨ D22 = D17 ∨ D22 = D18 ∨ D22 = D19 ∨ D22 = D20 ∧ ( mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success → mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None) ∨ D22 = D21 ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None ∨ D22 = D25 ∨ D22 = D26 ∨ D22 = D27 ∨ D22 = D28 ∨ D22 = D29 ∨ D22 = D30 ∨ D22 = D31 ∨ D22 = D32 ∨ D22 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resDeq, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used terms: mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)) ∨ (D22 = idle ⊃ idle ;(D22 = ready ⊃ ready ;(D22 = crashed ⊃ crashed ;( D22 = E1 ∨ D22 = E2 ∨ D22 = E3 ∨ D22 = E4 ∧ ¬ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = E5 ∨ D22 = E6 ∨ D22 = E7 ∨ D22 = E8 ∨ D22 = E9 ∨ D22 = E10 ∧ ( mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success → mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null) ∨ D22 = E11 ∧ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null ∨ D22 = E13 ∨ D22 = E14 ∨ D22 = E15 ∨ D22 = E16 ⊃ invEnq ;(D22 = E10 ∨ D22 = E11 ∨ D22 = E12 ∨ D22 = E4 ∨ D22 = E13 ∨ D22 = E17 ⊃ resEnq ;( D22 = D1 ∨ D22 = D2 ∨ D22 = D3 ∨ D22 = D4 ∨ D22 = D5 ∨ D22 = D6 ∧ ¬ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = D7 ∨ D22 = D8 ∨ D22 = D9 ∨ D22 = D10 ∨ D22 = D11 ∨ D22 = D12 ∨ D22 = D13 ∨ D22 = D14 ∨ D22 = D16 ∨ D22 = D17 ∨ D22 = D18 ∨ D22 = D19 ∨ D22 = D20 ∧ ( mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success → mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None) ∨ D22 = D21 ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID = None ∨ D22 = D25 ∨ D22 = D26 ∨ D22 = D27 ∨ D22 = D28 ∨ D22 = D29 ∨ D22 = D30 ∨ D22 = D31 ∨ D22 = D32 ∨ D22 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resDeq, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D22 ≠ D33; (s) ⊦ D22 ≠ D32; (s) ⊦ D22 ≠ D31; (s) ⊦ D22 ≠ D30; (s) ⊦ D22 ≠ D29; (s) ⊦ D22 ≠ D28; (s) ⊦ D22 ≠ D27; (s) ⊦ D22 ≠ D26; (s) ⊦ D22 ≠ D25; (s) ⊦ D21 ≠ D22; (s) ⊦ D20 ≠ D22; (s) ⊦ D19 ≠ D22; (s) ⊦ D18 ≠ D22; (s) ⊦ D17 ≠ D22; (s) ⊦ D16 ≠ D22; (s) ⊦ D14 ≠ D22; (s) ⊦ D13 ≠ D22; (s) ⊦ D12 ≠ D22; (s) ⊦ D11 ≠ D22; (s) ⊦ D10 ≠ D22; (s) ⊦ D9 ≠ D22; (s) ⊦ D8 ≠ D22; (s) ⊦ D7 ≠ D22; (s) ⊦ D6 ≠ D22; (s) ⊦ D5 ≠ D22; (s) ⊦ D4 ≠ D22; (s) ⊦ D3 ≠ D22; (s) ⊦ D2 ≠ D22; (s) ⊦ D1 ≠ D22; (s) ⊦ D22 ≠ E17; (s) ⊦ D22 ≠ E13; (s) ⊦ D22 ≠ E4; (s) ⊦ D22 ≠ E12; (s) ⊦ D22 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ D22 ≠ E16; (s) ⊦ D22 ≠ E15; (s) ⊦ D22 ≠ E14; (s) ⊦ D22 ≠ E9; (s) ⊦ D22 ≠ E8; (s) ⊦ D22 ≠ E7; (s) ⊦ D22 ≠ E6; (s) ⊦ D22 ≠ E5; (s) ⊦ D22 ≠ E3; (s) ⊦ D22 ≠ E2; (s) ⊦ D22 ≠ E1; (s) ⊦ D22 ≠ crashed; (s) ⊦ D22 ≠ ready; (s) ⊦ D22 ≠ idle; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ ( mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).value = alsf(vs[vhead4].deqID.tid).ival, ( pcf(vs[vhead4].deqID.tid) = D10 ∨ pcf(vs[vhead4].deqID.tid) = D11 ∨ pcf(vs[vhead4].deqID.tid) = D12 ∨ pcf(vs[vhead4].deqID.tid) = D13 ∨ pcf(vs[vhead4].deqID.tid) = D14) ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).nxt = null → alsf(vs[vhead4].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = D20 ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[vhead4].deqID.tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vretRefs (mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ ( mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).value = alsf(vs[vhead4].deqID.tid).ival, ( pcf(vs[vhead4].deqID.tid) = D10 ∨ pcf(vs[vhead4].deqID.tid) = D11 ∨ pcf(vs[vhead4].deqID.tid) = D12 ∨ pcf(vs[vhead4].deqID.tid) = D13 ∨ pcf(vs[vhead4].deqID.tid) = D14) ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).nxt = null → alsf(vs[vhead4].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = D20 ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[vhead4].deqID.tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vretRefs (mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), vs[vhead4].deqID.tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = alsf(vs[vhead4].deqID.tid).ival, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), vs[vhead4].deqID.tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)), ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = alsf(vs[vhead4].deqID.tid).ival, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, vs[vhead4].deqID.tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = alsf(vs[vhead4].deqID.tid).ival, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = vrvHp[vretRefs(vs[vhead4].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0).tid ≠ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).tid ∨ ¬ ( D22 = E1 ∨ D22 = E2 ∨ D22 = E3 ∨ D22 = E4 ∧ ¬ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = E5 ∨ D22 = E6 ∨ D22 = E7 ∨ D22 = E8 ∨ D22 = E9 ∨ D22 = E10 ∧ ( mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success → mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null) ∨ D22 = E11 ∧ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null ∨ D22 = E13 ∨ D22 = E14 ∨ D22 = E15 ∨ D22 = E16 → mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .value = mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).ival) ∨ ¬ ( (D22 = D10 ∨ D22 = D11 ∨ D22 = D12 ∨ D22 = D13 ∨ D22 = D14) ∧ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt = null → mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).obsEmpty) ∨ ¬ ( D22 = D20 ∧ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID ≠ None ∨ D22 = D21 ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID ≠ None ∨ D22 = D22 → mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).oval = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .optval) ∨ ¬ ( D22 = D15 ∨ D22 = D23 ∨ D22 = D24 ∨ D22 = D6 ∧ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = D34 → mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).oval = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vrvHp [mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vretRefs (mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .tid) ]) ⊦
Used terms: mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), D22, mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, vs[vhead4].deqID.tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = alsf(vs[vhead4].deqID.tid).ival, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = vrvHp[vretRefs(vs[vhead4].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0).tid ≠ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).tid ∨ ¬ ( D22 = E1 ∨ D22 = E2 ∨ D22 = E3 ∨ D22 = E4 ∧ ¬ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = E5 ∨ D22 = E6 ∨ D22 = E7 ∨ D22 = E8 ∨ D22 = E9 ∨ D22 = E10 ∧ ( mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success → mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null) ∨ D22 = E11 ∧ mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .lst ] .next = null ∨ D22 = E13 ∨ D22 = E14 ∨ D22 = E15 ∨ D22 = E16 → mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .value = mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).ival) ∨ ¬ ( (D22 = D10 ∨ D22 = D11 ∨ D22 = D12 ∨ D22 = D13 ∨ D22 = D14) ∧ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt = null → mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).obsEmpty) ∨ ¬ ( D22 = D20 ∧ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID ≠ None ∨ D22 = D21 ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .nxt ] .deqID ≠ None ∨ D22 = D22 → mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).oval = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .optval) ∨ ¬ ( D22 = D15 ∨ D22 = D23 ∨ D22 = D24 ∨ D22 = D6 ∧ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .success ∨ D22 = D34 → mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4).oval = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vrvHp [mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vretRefs (mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) .tid) ]) ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), vs[vhead4].deqID.tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = alsf(vs[vhead4].deqID.tid).ival, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D22 ≠ D34; (s) ⊦ D6 ≠ D22; (s) ⊦ D22 ≠ D24; (s) ⊦ D22 ≠ D23; (s) ⊦ D15 ≠ D22; (s) ⊦ Val(val) = Val(val0) ↔ val = val0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ D21 ≠ D22; (s) ⊦ D20 ≠ D22; (s) ⊦ D14 ≠ D22; (s) ⊦ D13 ≠ D22; (s) ⊦ D12 ≠ D22; (s) ⊦ D11 ≠ D22; (s) ⊦ D10 ≠ D22; (s) ⊦ D22 ≠ E16; (s) ⊦ D22 ≠ E15; (s) ⊦ D22 ≠ E14; (s) ⊦ D22 ≠ E13; (s) ⊦ D22 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ D22 ≠ E9; (s) ⊦ D22 ≠ E8; (s) ⊦ D22 ≠ E7; (s) ⊦ D22 ≠ E6; (s) ⊦ D22 ≠ E5; (s) ⊦ D22 ≠ E4; (s) ⊦ D22 ≠ E3; (s) ⊦ D22 ≠ E2; (s) ⊦ D22 ≠ E1; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), vs[vhead4].deqID.tid = alsf(vs[vhead4].deqID.tid).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → alsf(vs[vhead4].deqID.tid).oval = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → alsf(vs[vhead4].deqID.tid).oval = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = alsf(vs[vhead4].deqID.tid).ival, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, vs[vhead4].deqID.tid = tid0, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[vhead4].deqID.tid) = mkls(tid0, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(vs[vhead4].deqID.tid), oval, tid0, optval1
| vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, vs[vhead4].deqID.tid = tid0, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[vhead4].deqID.tid) = mkls(tid0, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, obsEmpty0, val3, optval1, val4, optval5), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, obsEmpty0, val3, optval1, val4, optval5), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → alsf(vs[null].deqID.tid).obsEmpty, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, obsEmpty0, val3, optval1, val4, optval5), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → obsEmpty2, pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty2, alsf(vs[null].deqID.tid), oval, tid0, optval6
| vs[ps[orl.last].next].deqID = Some(tid), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, obsEmpty0, val3, optval1, val4, optval5), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, ps[vhead4].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → obsEmpty2, pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[phead0].next].deqID = None, vs[ps[phead0].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, phead0, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, obsEmpty0, val3, optval1, val4, optval5), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, phead0, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[phead0].next].val), vhead2, nd0, true, vhead3, ps[phead0].next, vretRefs(tid), optval2, phead0, tid4, addr0), orl = qrl + phead0 ', pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[vhead4].val ≠ vs[ps[phead0].next].val, orl ≠ [], phead0 ≠ vhead3, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, phead0, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[phead0].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from phead0, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → obsEmpty2, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead0, y
| ps[vhead4].deqID = None, ps[ps[phead0].next].deqID = None, vs[ps[phead0].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, phead0, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, obsEmpty0, val3, optval1, val4, optval5), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, phead0, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[ps[phead0].next].val), vhead2, nd0, true, vhead3, ps[phead0].next, vretRefs(tid), optval2, phead0, tid4, addr0), orl = qrl + phead0 ', pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[vhead4].val ≠ vs[ps[phead0].next].val, orl ≠ [], phead0 ≠ vhead3, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, phead0, tid1, addr), pcf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid, orl + vhead4 ' + qrl0, ps[phead0].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from phead0, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), pcf(vs[vhead4].deqID.tid) = D15 ∨ pcf(vs[vhead4].deqID.tid) = D23 ∨ pcf(vs[vhead4].deqID.tid) = D24 ∨ pcf(vs[vhead4].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[vhead4].deqID.tid)], pcf(vs[vhead4].deqID.tid) = D22 → optval1 = optval, ( pcf(vs[null].deqID.tid) = D10 ∨ pcf(vs[null].deqID.tid) = D11 ∨ pcf(vs[null].deqID.tid) = D12 ∨ pcf(vs[null].deqID.tid) = D13 ∨ pcf(vs[null].deqID.tid) = D14) ∧ vhead4 = null → obsEmpty2, pcf(vs[vhead4].deqID.tid) = E1 ∨ pcf(vs[vhead4].deqID.tid) = E2 ∨ pcf(vs[vhead4].deqID.tid) = E3 ∨ pcf(vs[vhead4].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = E5 ∨ pcf(vs[vhead4].deqID.tid) = E6 ∨ pcf(vs[vhead4].deqID.tid) = E7 ∨ pcf(vs[vhead4].deqID.tid) = E8 ∨ pcf(vs[vhead4].deqID.tid) = E9 ∨ pcf(vs[vhead4].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[vhead4].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[vhead4].deqID.tid) = E13 ∨ pcf(vs[vhead4].deqID.tid) = E14 ∨ pcf(vs[vhead4].deqID.tid) = E15 ∨ pcf(vs[vhead4].deqID.tid) = E16 → val = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[phead0].next].deqID = Some(tid), ps[ps[phead0].next].deqID = None, abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, vs), markedp(qrl, ps), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, vretRefs(tid) ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl ∨ phead = phead0, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) = mkls (tid1, value0, optval1, node3, nd0, success0, node4, node5, rvref1, optval2, node6, tid2, rvref2) ↔ tid = tid1 ∧ value = value0 ∧ optval = optval1 ∧ node = node3 ∧ nd = nd0 ∧ (success ↔ success0) ∧ node0 = node4 ∧ node1 = node5 ∧ rvref = rvref1 ∧ optval0 = optval2 ∧ node2 = node6 ∧ tid0 = tid2 ∧ rvref0 = rvref2; (ws) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ Some(tid).tid = tid; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)
| vs[ps[phead0].next].deqID = Some(tid), ps[ps[phead0].next].deqID = None, abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, vs), markedp(qrl, ps), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, vretRefs(tid) ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl ∨ phead = phead0, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[ps[phead0].next].deqID = None, vs[ps[phead0].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, ps), markedp(qrl, vs), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, vretRefs(tid) ∈ vrvHp, vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), D21 = D3 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = D6 → ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ Pending (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ;Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, D21 = D9 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst, D21 = D10 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next) ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next) ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next), D21 = D12 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next), D21 = D13 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = null, D21 = D14 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = null, D21 = D15 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next, D21 = D19 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl.head ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success) ∧ (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first) ∧ noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs) ; mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ), D21 = D21 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first) ∧ noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl.head ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first), D21 = D22 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ], D21 = D25 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs )[mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs )[mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val)), D21 = D26 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid)) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val)), D21 = D27 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val)), D21 = D28 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val), D21 = D29 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val), D21 = D30 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val), D21 = D31 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next, D21 = D34 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ] ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).pretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).pretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Empty ⊃ Pending (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ;Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E3 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E5 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E6 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst), D21 = E8 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst), D21 = E9 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst), D21 = E10 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] .val = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Weak (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∨ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node), D21 = E11 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] .val = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Weak (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∨ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node), D21 = E12 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E14 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mk (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mk (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).pretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → nextnottid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps), D21 = E10 → (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ;noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns) ) ;oneowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ;noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns) ), D21 = E4 → (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns) ;oneowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, phead ∈ qrl ∨ phead = phead0 ⊦
Used terms: mkgs (ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls (tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[ps[phead0].next].deqID = None, vs[ps[phead0].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, ps), markedp(qrl, vs), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, vretRefs(tid) ∈ vrvHp, vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), D21 = D3 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = D6 → ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ Pending (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ;Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, D21 = D9 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst, D21 = D10 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next) ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next) ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next), D21 = D12 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next), D21 = D13 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = null, D21 = D14 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = null, D21 = D15 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next, D21 = D19 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl.head ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success) ∧ (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first) ∧ noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs) ; mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ), D21 = D21 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first) ∧ noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl.head ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first), D21 = D22 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ] ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ], D21 = D25 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs )[mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs )[mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val)), D21 = D26 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid)) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val)), D21 = D27 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval .val)), D21 = D28 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID = Some (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val), D21 = D29 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val), D21 = D30 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).othertid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val), D21 = D31 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ] .next, D21 = D34 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ] ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).prvHp [mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).pretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).pretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Empty ⊃ Pending (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ;Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E3 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E5 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E6 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst), D21 = E8 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst), D21 = E9 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst), D21 = E10 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] .val = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Weak (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∨ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node), D21 = E11 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] .val = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value ∧ ( mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Weak (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∨ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node), D21 = E12 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E14 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node) = Some(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mk (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mk (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ] = mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Pending(mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl from mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).pretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vretRefs (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid)) = Claimed (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval.val) ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr ∈ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vrvHp ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).addr ≠ null ∧ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).optval = Val (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead ≠ mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first → nextnottid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vhead, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).first, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).orl + mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).qrl, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).nxt, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps), D21 = E10 → (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ;noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns) ) ;oneowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs [mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ;noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns) ), D21 = E4 → (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).success ⊃ noowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns) ;oneowns (mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).tid, mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr).node, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).owns, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).vs, mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, phead ∈ qrl ∨ phead = phead0 ⊦ |
vs[ps[phead0].next].deqID = Some(tid), ps[ps[phead0].next].deqID = None, abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, vs), markedp(qrl, ps), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, vretRefs(tid) ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl ∨ phead = phead0, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (a ' + x).head = a; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ a ' + x ≠ []; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val) = Val(val0) ↔ val = val0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[phead0].next].deqID = Some(tid), ps[ps[phead0].next].deqID = None, abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, vs), markedp(qrl, ps), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[phead0].deqID), some?(ps[phead0].deqID), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, vretRefs(tid) ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ qrl ∨ phead = phead0, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null ⊦ |
⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ [])
ps[ps[phead0].next].deqID = None, vs[ps[phead0].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, ps), markedp(qrl, vs), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, vretRefs(tid) ∈ vrvHp, vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), listp(qrl + phead0 ' + ps[phead0].next ' + qrl0, vs, ps, owns) → (listp(phead0 ' + ps[phead0].next ' + qrl0, vs, ps, owns) ↔ phead0 ' + ps[phead0].next ' + qrl0 ≠ []), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, phead ∈ qrl ∨ phead = phead0 ⊦
Used terms: ps, qrl, owns, phead0 ' + ps[phead0].next ' + qrl0, vs
| ⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ []) |
| ps[ps[phead0].next].deqID = None, vs[ps[phead0].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[ps[phead0].next].val), vhead, nd, true, vhead3, ps[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[ps[phead0].next].val), ps[phead0].next ≠ null, ps[phead0].next ≠ phead0, ps[ps[phead0].next].val ≠ vs[ps[phead0].next].val, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, ps), markedp(qrl, vs), noid(tid, (qrl + phead0 ') + ps[phead0].next ' + qrl0, ps[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + ps[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[phead0].deqID), some?(vs[phead0].deqID), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, vretRefs(tid) ∈ vrvHp, vhead0 ∈ (qrl + phead0 ') + ps[phead0].next ' + qrl0 from vhead3, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ phead0 ∈ qrl, ¬ phead0 ∈ qrl0, ¬ ps[phead0].next ∈ qrl0, ¬ ps[phead0].next ∈ qrl, vs[phead0].next ≠ null ∧ vs[vs[phead0].next].deqID ≠ None → rvowns(vretRefs(vs[vs[phead0].next].deqID.tid)) = Claimed(vs[vs[phead0].next].deqID.tid, vs[vs[phead0].next].val), listp(qrl + phead0 ' + ps[phead0].next ' + qrl0, vs, ps, owns) → (listp(phead0 ' + ps[phead0].next ' + qrl0, vs, ps, owns) ↔ phead0 ' + ps[phead0].next ' + qrl0 ≠ []), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (ps[phead0].next ' + qrl0).butlast).last ∧ vs[(ps[phead0].next ' + qrl0).last].deqID = None ∧ vs[(ps[phead0].next ' + qrl0).last].next = null, vhead3 = ps[phead0].next ∨ vhead3 ∈ qrl0, phead ∈ qrl ∨ phead = phead0 ⊦ |
ps[phead0].deqID = vs[phead0].deqID, ps[vs[phead0].next].deqID = None, vs[vs[phead0].next].deqID = Some(tid), ps[phead0].next = vs[phead0].next, ps[phead0].val = vs[phead0].val, abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[vs[phead0].next].val), vhead, nd, true, vhead3, vs[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[vs[phead0].next].val), vhead, nd, true, vhead3, vs[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), owns(phead0) = None, pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[phead0].next].val), vs[phead0].next ≠ phead0, vs[phead0].next ≠ null, ps[vs[phead0].next].val ≠ vs[vs[phead0].next].val, phead0 ≠ null, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[phead0].next ' + qrl0, vs, ps, owns), listp((qrl + phead0 ') + vs[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, ps), markedp(qrl, vs), noid(tid, (qrl + phead0 ') + vs[phead0].next ' + qrl0, vs[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + vs[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[phead0].deqID), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead0 ∈ ps, phead0 ∈ vs, phead ∈ ps, phead ∈ vs, vretRefs(tid) ∈ vrvHp, vhead0 ∈ (qrl + phead0 ') + vs[phead0].next ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl0), ¬ weak?(vs[phead0].deqID), ¬ vs[phead0].next ∈ qrl, ¬ vs[phead0].next ∈ qrl0, ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (vs[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (vs[phead0].next ' + qrl0).butlast).last ∧ vs[(vs[phead0].next ' + qrl0).last].deqID = None ∧ vs[(vs[phead0].next ' + qrl0).last].next = null, vhead3 = vs[phead0].next ∨ vhead3 ∈ qrl0, phead ∈ qrl ∨ phead = phead0 ⊦
Used simplifier rules: ⊦ Some(tid).tid = tid; (s) ⊦ None ≠ Some(tid); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ a ' + x ≠ []; (s)
| ps[phead0].deqID = vs[phead0].deqID, ps[vs[phead0].next].deqID = None, vs[vs[phead0].next].deqID = Some(tid), ps[phead0].next = vs[phead0].next, ps[phead0].val = vs[phead0].val, abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), mkls(tid, val, Val(vs[vs[phead0].next].val), vhead, nd, true, vhead3, vs[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), D21) = invDeq, alsf(vs[null].deqID.tid) = mkls(tid0, obsEmpty2, val5, optval6, val6, optval7), alsf(tid) = mkls(tid, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val, Val(vs[vs[phead0].next].val), vhead, nd, true, vhead3, vs[phead0].next, vretRefs(tid), optval0, phead0, tid1, addr), owns(phead0) = None, pcf(tid) = D21, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[phead0].next].val), vs[phead0].next ≠ phead0, vs[phead0].next ≠ null, ps[vs[phead0].next].val ≠ vs[vs[phead0].next].val, phead0 ≠ null, phead0 ≠ vhead3, vretRefs(tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[phead0].next ' + qrl0, vs, ps, owns), listp((qrl + phead0 ') + vs[phead0].next ' + qrl0, vs, ps, owns), markedp(qrl, ps), markedp(qrl, vs), noid(tid, (qrl + phead0 ') + vs[phead0].next ' + qrl0, vs[phead0].next, vs), nonullRetRefs((qrl + phead0 ') + vs[phead0].next ' + qrl0, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[phead0].deqID), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead0 ∈ ps, phead0 ∈ vs, phead ∈ ps, phead ∈ vs, vretRefs(tid) ∈ vrvHp, vhead0 ∈ (qrl + phead0 ') + vs[phead0].next ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl0), ¬ weak?(vs[phead0].deqID), ¬ vs[phead0].next ∈ qrl, ¬ vs[phead0].next ∈ qrl0, ¬ phead0 ∈ qrl0, ¬ phead0 ∈ qrl, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, phead0, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[phead0].next ' + qrl0, qrl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (vs[phead0].next ' + qrl0).last ∨ vhead0 = (phead0 ' + (vs[phead0].next ' + qrl0).butlast).last ∧ vs[(vs[phead0].next ' + qrl0).last].deqID = None ∧ vs[(vs[phead0].next ' + qrl0).last].next = null, vhead3 = vs[phead0].next ∨ vhead3 ∈ qrl0, phead ∈ qrl ∨ phead = phead0 ⊦ |
Used simplifier rules: reflist freely generated by [], +;; ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ unmarkedp([], vs); (s) ⊦ x + [] = x; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid)), (tid0 = tid ⊃ mkls(tid, obsEmpty1, val1, Val(ps[vhead4].val), val2, optval4);alsf(tid))) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid), optval2, orl.last, tid4, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D22;pcf(tid))) ≠ (tid0 = tid ⊃ resDeq;apcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used terms: tid
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ abspc(gs, ls, pc) = abspc(gs0, ls0, pc) ↔ (pc = E4 ⊃ ls.success ↔ ls0.success ;(pc = E10 ⊃ ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ↔ ls0.success → ls0.lst = gs0.vtail ∧ gs0.ps[ls0.lst].next = null ;(pc = E11 ⊃ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ↔ ls0.lst = gs0.vtail ∧ gs0.ps[ls0.lst].next = null ;(pc = D6 ⊃ ls.success ↔ ls0.success ;(pc = D20 ⊃ ls.success → gs.ps[ls.nxt].deqID = None ↔ ls0.success → gs0.ps[ls0.nxt].deqID = None ;(pc = D21 ⊃ gs.ps[ls.nxt].deqID = None ↔ gs0.ps[ls0.nxt].deqID = None ;true ) ) ) ) ) ); (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, ¬ absls (mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( lsf(tid).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( lsf(tid).success → lsf(tid).lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∧ ((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vrvHp [mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used terms: mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( lsf(tid).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( lsf(tid).success → lsf(tid).lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vtail ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∧ ((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vrvHp [mkgs (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl0, orl + vhead4 ', owns, rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, lsf(tid).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, lsf(tid).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid2, optval1
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, lsf(tid).tid ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, lsf(tid).tid ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ; pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid3 ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid3)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[phead1].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null ↔ ps[phead1].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
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, optval6, node, nd1, lsf(tid), addr1, tid3, lst, first, rvref0, othertid, success, optval6
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid3 ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid3)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[phead1].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead1].next = null ↔ ps[phead1].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, tid3 ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, tid3 ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).tid = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success → mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).value = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).nxt = null → mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).obsEmpty, pcf(tid) = D20 ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).oval = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success ∨ pcf(tid) = D34 → mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vretRefs (mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid3 ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid), mkls(tid2, obsEmpty0, val3, optval1, val4, optval5)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).tid = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success → mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).value = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).nxt = null → mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).obsEmpty, pcf(tid) = D20 ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).ps [mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).oval = mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).success ∨ pcf(tid) = D34 → mkls(tid2, obsEmpty0, val3, optval1, val4, optval5).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns).vretRefs (mkls(tid3, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid3 ≠ tid2 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid) = E10 ∨ pcf(tid) = E11 ⊦
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used formulas: pcf(tid) = E10 ∨ pcf(tid) = E11
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid) = E10 ∨ pcf(tid) = E11 ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), vhead0 = ps[orl.last].next, orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = E10 ∨ pcf(tid) = E11, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vhead0 ≠ ps[orl.last].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = E10 ∨ pcf(tid) = E11, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
Used terms: ps, ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0), vhead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), vhead0 = ps[orl.last].next, orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = E10 ∨ pcf(tid) = E11, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), ps[orl.last].next ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = ps[orl.last].next ∧ ps[ps[orl.last].next].next = null) ∨ pcf(tid) = E11 ∧ phead1 = ps[orl.last].next ∧ ps[ps[orl.last].next].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ps[orl.last].next = (vhead4 ' + qrl0).last ∨ ps[orl.last].next = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid) = E10 ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ E10 → pcf(tid) ≠ E11 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦
Used simplifier rules: ⊦ (nd.deqID:= opttid).next = nd.next; (s) ⊦ a = b → st[b, d][a] = d; (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), ps[orl.last].next ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = ps[orl.last].next ∧ ps[ps[orl.last].next].next = null) ∨ pcf(tid) = E11 ∧ phead1 = ps[orl.last].next ∧ ps[ps[orl.last].next].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, orl.last, ps[orl.last].next, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ps[orl.last].next = (vhead4 ' + qrl0).last ∨ ps[orl.last].next = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid) = E10 ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ E10 → pcf(tid) ≠ E11 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vhead0 ≠ ps[orl.last].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(tid) = E10 ∨ pcf(tid) = E11, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vhead0 ≠ ps[orl.last].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid) = E10 ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ E10 → pcf(tid) ≠ E11 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid, vhead0 ≠ ps[orl.last].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid) = E10 ∨ pcf(tid) = E11, ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ E10 → pcf(tid) ≠ E11 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → phead1 = vhead0 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ obsEmpty2 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, phead2 = ps[orl.last].next, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used terms: ps, ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0), phead2
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, phead2, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, phead2 = ps[orl.last].next, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬ ( pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ obsEmpty2 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[ps[orl.last].next, ps[ps[orl.last].next].deqID:= Some(tid0)][phead2].deqID = None ↔ ps[phead2].deqID = None) )), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, pcf(tid) = D22 → optval1 = optval6, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬(pcf(tid) = D20 ∧ obsEmpty2 ∨ pcf(tid) = D21 ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ ¬ obsEmpty2;pcf(tid) ≠ D21)) ⊦
Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, pcf(tid) = D22 → optval1 = optval6, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, ¬(pcf(tid) = D20 ∧ obsEmpty2 ∨ pcf(tid) = D21 ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ ¬ obsEmpty2;pcf(tid) ≠ D21)) ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, lsf(tid).tid = tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = D22 → optval1 = optval6, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], ¬(pcf(tid) = D20 ∧ obsEmpty2 ∨ pcf(tid) = D21 ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ ¬ obsEmpty2;pcf(tid) ≠ D21)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦
Used terms: tid
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, lsf(tid).tid = tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid) ≠ E10, pcf(tid) ≠ E11, tid0 ≠ tid, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), lsf(tid), pcf(tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, pcf(tid) = D22 → optval1 = optval6, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val5 = val3, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid2)], ¬(pcf(tid) = D20 ∧ obsEmpty2 ∨ pcf(tid) = D21 ∨ pcf(tid) = D22 → optval1 = optval6) ∨ ¬(pcf(tid) ≠ E4 → pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ ¬ obsEmpty2;pcf(tid) ≠ D21)), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D22 → optval1 = optval6, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, ¬(pcf(tid2) = D20 ∧ obsEmpty2 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 → optval1 = optval6) ∨ ¬(pcf(tid2) ≠ E4 → pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ ¬ obsEmpty2;pcf(tid2) ≠ D21)) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D22 → optval1 = optval6, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, ¬(pcf(tid2) = D20 ∧ obsEmpty2 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 → optval1 = optval6) ∨ ¬(pcf(tid2) ≠ E4 → pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ ¬ obsEmpty2;pcf(tid2) ≠ D21)) ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D20 ∧ obsEmpty2 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ (pcf(tid2) = D20 ⊃ ¬ obsEmpty2;pcf(tid2) ≠ D21)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D20 ∧ obsEmpty2 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ D22, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid2) = D20 ∧ obsEmpty2 ∨ pcf(tid2) = D21 ⊦
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ D22, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, pcf(tid2) = D20 ∧ obsEmpty2 ∨ pcf(tid2) = D21 ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), obsEmpty2, pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ D22, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ D22, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), obsEmpty2, pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ D22, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ D22; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ D22, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ D22; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, optval1 ≠ optval6, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ a ' + x ≠ []; (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) .qrl = qrl; (s) ⊦ (a ' + x).head = a; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty2 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ (pcf(tid2) = D20 ⊃ ¬ obsEmpty2;pcf(tid2) ≠ D21) |
vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D22 → optval1 = optval6, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ (pcf(tid2) = D20 ⊃ ¬ obsEmpty2;pcf(tid2) ≠ D21)
| vs[ps[orl.last].next].deqID = Some(tid0), ps[ps[orl.last].next].deqID = None, ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl0, ps), unmarkedp(qrl0, vs), vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vretRefs(tid0) ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid2) = D22 → optval1 = optval6, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null, pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21 ⊦ (pcf(tid2) = D20 ⊃ ¬ obsEmpty2;pcf(tid2) ≠ D21) |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), obsEmpty2, pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid2) = D21, pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D20, pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), obsEmpty2, pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid0) = D21, pcf(tid2) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (tid2, val5, optval6, phead0, nd1, true, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid2) = D21, pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], pcf(tid2) ≠ D20, pcf(tid2) ≠ D6, pcf(tid2) ≠ E4, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ vhead4 ∈ qrl0, ¬ vhead4 ∈ orl, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val5 = val3, pcf(tid2) = D22 → optval1 = optval6, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid2) = D21, pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦
Used simplifier rules: ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s)
| ps[vhead4].deqID = None, ps[ps[orl.last].next].deqID = None, vs[ps[orl.last].next].deqID = Some(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)) = apcf(vs[vhead4].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty1, val1, optval3, val2, optval4), alsf(tid2) = mkls(tid2, obsEmpty0, val3, optval1, val4, optval5), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid2) = mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), lsf(vs[vhead4].deqID.tid) = mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[orl.last].next].val), vhead2, nd0, true, vhead3, ps[orl.last].next, vretRefs(tid0), optval2, orl.last, tid4, addr0), pcf(tid2) = D21, pcf(tid0) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Claimed(tid0, vs[ps[orl.last].next].val), orl.last ≠ vhead3, ps[orl.last].next ≠ null, orl ≠ [], tid0 ≠ tid2, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls(vs[vhead4].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, vhead4, rvref, optval0, orl.last, tid1, addr), pcf(vs[vhead4].deqID.tid), alsf(vs[vhead4].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + vhead4 ' + qrl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(tid0, orl + vhead4 ' + qrl0, ps[orl.last].next, vs), nonullRetRefs(orl + vhead4 ' + qrl0, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl0, vs), unmarkedp(qrl0, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, vretRefs(tid0) ∈ vrvHp, vhead3 ∈ orl + vhead4 ' + qrl0 from orl.last, vhead0 ∈ orl + vhead4 ' + qrl0 from vhead3, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead4 ∈ orl, ¬ vhead4 ∈ qrl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[vhead4].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[vhead4].deqID.tid) = D21, vhead0 = (vhead4 ' + qrl0).last ∨ vhead0 = (orl + (vhead4 ' + qrl0).butlast).last ∧ vs[(vhead4 ' + qrl0).last].deqID = None ∧ vs[(vhead4 ' + qrl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ a ' + x ≠ []; (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) .qrl = qrl; (s) ⊦ (a ' + x).head = a; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vhead4 ' + qrl0, orl, owns, rvowns), mkls (tid2, val5, optval6, phead0, nd1, obsEmpty2, phead1, ps[orl.last].next, rvref0, optval7, phead3, tid5, addr1), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2) = D28, tid4 = tid, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), 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[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (gstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)), lsf (tid2 ; lstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) ), pcf (tid2 ; pcstepf (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid4, addr0), pcf(tid2), doDeq(tid)) )), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), pcf(tid2) = D28, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28, alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid2; mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ pcstepf(gs, ls, D28, a) = D29; (s) ⊦ lstepf(gs, ls, D28, a) = ls; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl:= qrl2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl2, owns, rvowns); (s) ⊦ x + a = x + a '; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .othertid = tid0; (s) ⊦ gstepf(gs, ls, D28, a) = ( ( gs .ps:= gs.ps[ls.nxt, gs.ps[ls.nxt].deqID:= Some(ls.othertid)]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s)
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), pcf(tid2) = D28, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28, alsf(tid2)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid2; mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid2) = D28, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28, alsf(tid2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D28 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ≠ null, D28 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ≠ null, D28 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = D6 → ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Empty ∨ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ;Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ), D28 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, D28 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst, D28 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next) ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next), D28 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next) ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next), D28 = D12 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next), D28 = D13 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = null, D28 = D14 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] = Empty ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = null, D28 = D15 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] = Empty, D28 = D16 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = D17 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = D18 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next, D28 = D19 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val), D28 = D20 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success) ∧ (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first) ∧ noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ), D28 = D21 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first) ∧ noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first), D28 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next, D28 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ], D28 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ], D28 = D25 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID .tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val)), D28 = D26 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid)) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val)), D28 = D27 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val)), D28 = D28 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val), D28 = D29 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val), D28 = D30 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val), D28 = D31 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next, D28 = D34 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ] ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Empty ⊃ Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ;Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ), D28 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D28 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst), D28 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst), D28 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst), D28 = E10 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] .val = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Weak(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∨ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node), D28 = E11 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] .val = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Weak(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∨ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node), D28 = E12 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null, D28 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D28 = E4 ∨ D28 = E10 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mk(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ], D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mk(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value, None, null), D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ], D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = D13 ∨ D28 = D14 ∨ D28 = D15 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success, D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst, D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ≠ null, D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val), D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val), D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → nextnottid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → nextnottid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 → noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 ∨ D28 = E1 ∨ D28 = E12 ∨ D28 = E17 → noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → oneowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D28 = E10 → (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ⊃ oneweakowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D28 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ⊃ oneweakowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D28 = E4 → (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid2; mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vhead4].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid2) = D28, orl ≠ [], DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0), D28, alsf(tid2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(qrl), ¬ dups(orl), ¬ dups(orl + qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D28 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ≠ null, D28 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ≠ null, D28 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = D6 → ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Empty ∨ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ;Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ), D28 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, D28 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst, D28 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next) ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next), D28 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next) ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next), D28 = D12 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next), D28 = D13 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = null, D28 = D14 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] = Empty ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = null, D28 = D15 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] = Empty, D28 = D16 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = D17 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = D18 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next, D28 = D19 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val), D28 = D20 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success) ∧ (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first) ∧ noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ), D28 = D21 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first) ∧ noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first), D28 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next, D28 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ], D28 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ] ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ], D28 = D25 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs )[mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID .tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val)), D28 = D26 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid)) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val)), D28 = D27 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val)), D28 = D28 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val), D28 = D29 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val), D28 = D30 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).othertid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val), D28 = D31 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ] .next, D28 = D34 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ] ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Empty ⊃ Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ;Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ), D28 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail), D28 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst), D28 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst), D28 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst), D28 = E10 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] .val = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Weak(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∨ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node), D28 = E11 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] .val = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value ∧ ( mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Weak(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∨ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node), D28 = E12 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null, D28 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ≠ null, D28 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, D28 = E4 ∨ D28 = E10 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node) = Some(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mk(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ], D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mk(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).value, None, null), D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node ], D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = D13 ∨ D28 = D14 ∨ D28 = D15 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Pending(mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → ¬ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success, D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst, D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl from mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).pretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) = mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).rvref ≠ null, D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid)) = Claimed (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval.val) ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val), D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 → mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).addr ≠ null ∧ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt ] .val), D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → nextnottid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead ≠ mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first → nextnottid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ∨ D28 = E17 ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 → noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D18 ∨ D28 = D19 → noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = D22 ∨ D28 = D23 ∨ D28 = D24 → noid (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).qrl, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs), D28 = crashed ∨ D28 = idle ∨ D28 = ready ∨ D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D15 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∨ D28 = D21 ∨ D28 = D22 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ∨ D28 = D34 ∨ D28 = E1 ∨ D28 = E12 ∨ D28 = E17 → noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns), D28 = E2 ∨ D28 = E3 ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → oneowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps), D28 = E10 → (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ⊃ oneweakowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ) ;oneowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), D28 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs [mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).lst ] .next ⊃ oneweakowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ;noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ), D28 = E4 → (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).success ⊃ noowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns) ;oneowns (mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).tid, mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vhead4, ps[vhead4].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf(tid2; mkls(tid2, val0, optval1, vhead2, nd0, obsEmpty0, vhead3, vhead4, rvref0, optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(vretRefs(tid2)) = Pending(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28, alsf(tid2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid2) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ Val(val).val = val; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[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 ⊦ D3 ≠ D28; (s) ⊦ D4 ≠ D28; (s) ⊦ D5 ≠ D28; (s) ⊦ D6 ≠ D28; (s) ⊦ D8 ≠ D28; (s) ⊦ D9 ≠ D28; (s) ⊦ D10 ≠ D28; (s) ⊦ D11 ≠ D28; (s) ⊦ D12 ≠ D28; (s) ⊦ D13 ≠ D28; (s) ⊦ D14 ≠ D28; (s) ⊦ D15 ≠ D28; (s) ⊦ D16 ≠ D28; (s) ⊦ D17 ≠ D28; (s) ⊦ D18 ≠ D28; (s) ⊦ D19 ≠ D28; (s) ⊦ D20 ≠ D28; (s) ⊦ D21 ≠ D28; (s) ⊦ D22 ≠ D28; (s) ⊦ D23 ≠ D28; (s) ⊦ D24 ≠ D28; (s) ⊦ D25 ≠ D28; (s) ⊦ D26 ≠ D28; (s) ⊦ D27 ≠ D28; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .othertid = tid0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .addr = rvref0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ D28 ≠ D29; (s) ⊦ D28 ≠ D30; (s) ⊦ D28 ≠ D31; (s) ⊦ D28 ≠ D34; (s) ⊦ D28 ≠ E2; (s) ⊦ D28 ≠ E3; (s) ⊦ D28 ≠ E5; (s) ⊦ D28 ≠ E6; (s) ⊦ D28 ≠ E7; (s) ⊦ D28 ≠ E8; (s) ⊦ D28 ≠ E9; (s) ⊦ D28 ≠ E10; (s) ⊦ D28 ≠ E11; (s) ⊦ D28 ≠ E12; (s) ⊦ D28 ≠ E13; (s) ⊦ D28 ≠ E14; (s) ⊦ D28 ≠ E15; (s) ⊦ D28 ≠ E16; (s) ⊦ D28 ≠ E4; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D7 ≠ D28; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ D2 ≠ D28; (s) ⊦ D1 ≠ D28; (s) ⊦ D28 ≠ E17; (s) ⊦ D28 ≠ E1; (s) ⊦ D28 ≠ ready; (s) ⊦ D28 ≠ idle; (s) ⊦ D28 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(vretRefs(tid2)) = Pending(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28, alsf(tid2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid2) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).tid = alsf(tid2).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid2)) = Pending(tid2), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid2) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∧ ¬ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).success ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∧ ( mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0) .success → mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0) .lst ] .next = null) ∨ D28 = E11 ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).lst ] .next = null ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).value = alsf(tid2).ival, (D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14) ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).nxt = null → alsf(tid2).obsEmpty, D28 = D20 ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∨ D28 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∨ D28 = D22 → alsf(tid2).oval = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).optval, D28 = D15 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D6 ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).success ∨ D28 = D34 → alsf(tid2).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28, alsf(tid2)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).tid = alsf(tid2).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid2)) = Pending(tid2), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid2) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∧ ¬ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).success ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∧ ( mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0) .success → mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0) .lst ] .next = null) ∨ D28 = E11 ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).lst ] .next = null ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 → mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).value = alsf(tid2).ival, (D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14) ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).nxt = null → alsf(tid2).obsEmpty, D28 = D20 ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∨ D28 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).nxt ] .deqID ≠ None ∨ D28 = D22 → alsf(tid2).oval = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).optval, D28 = D15 ∨ D28 = D23 ∨ D28 = D24 ∨ D28 = D6 ∧ mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).success ∨ D28 = D34 → alsf(tid2).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vretRefs (mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(vretRefs(tid2)) = Pending(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), tid2 = alsf(tid2).tid, ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid2) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ D28 ≠ E16; (s) ⊦ D28 ≠ E15; (s) ⊦ D28 ≠ E14; (s) ⊦ D28 ≠ E13; (s) ⊦ D28 ≠ E11; (s) ⊦ D28 ≠ E10; (s) ⊦ D28 ≠ E9; (s) ⊦ D28 ≠ E8; (s) ⊦ D28 ≠ E7; (s) ⊦ D28 ≠ E6; (s) ⊦ D28 ≠ E5; (s) ⊦ D28 ≠ E4; (s) ⊦ D28 ≠ E3; (s) ⊦ D28 ≠ E2; (s) ⊦ D28 ≠ E1; (s) ⊦ D14 ≠ D28; (s) ⊦ D13 ≠ D28; (s) ⊦ D12 ≠ D28; (s) ⊦ D11 ≠ D28; (s) ⊦ D10 ≠ D28; (s) ⊦ D22 ≠ D28; (s) ⊦ D21 ≠ D28; (s) ⊦ D20 ≠ D28; (s) ⊦ D28 ≠ D34; (s) ⊦ D6 ≠ D28; (s) ⊦ D24 ≠ D28; (s) ⊦ D23 ≠ D28; (s) ⊦ D15 ≠ D28; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), dom vrvHp = dom prvHp, lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(vretRefs(tid2)) = Pending(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), tid2 = alsf(tid2).tid, ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid2) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid2) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid2)) = Pending(tid2), tid2 = tid0, ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid2) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid2), oval, tid0, optval1
| ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), D28) = apcf(tid2), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid2) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid2) = mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0), pcf(tid2) = D28, pretRefs(tid2) = vretRefs(tid2), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid2)) = Pending(tid2), tid2 = tid0, ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid2) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid2, orl.last, vs), noid(tid2, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid2, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid2) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid2; mkls(tid2, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid2), optval2, vhead5, tid, addr0)), pcf(tid2; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), D28) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), D28) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), (D28 = idle ⊃ idle ;(D28 = ready ⊃ ready ;(D28 = crashed ⊃ crashed ;( D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∧ ¬ mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∧ ( mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success → mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst ] .next = null) ∨ D28 = E11 ∧ mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst ] .next = null ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ⊃ invEnq ;(D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E4 ∨ D28 = E13 ∨ D28 = E17 ⊃ resEnq ;( D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∧ ¬ mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∧ ( mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .nxt ] .deqID = None) ∨ D28 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .nxt ] .deqID = None ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), D28
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), (D28 = idle ⊃ idle ;(D28 = ready ⊃ ready ;(D28 = crashed ⊃ crashed ;( D28 = E1 ∨ D28 = E2 ∨ D28 = E3 ∨ D28 = E4 ∧ ¬ mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success ∨ D28 = E5 ∨ D28 = E6 ∨ D28 = E7 ∨ D28 = E8 ∨ D28 = E9 ∨ D28 = E10 ∧ ( mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success → mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst ] .next = null) ∨ D28 = E11 ∧ mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .lst ] .next = null ∨ D28 = E13 ∨ D28 = E14 ∨ D28 = E15 ∨ D28 = E16 ⊃ invEnq ;(D28 = E10 ∨ D28 = E11 ∨ D28 = E12 ∨ D28 = E4 ∨ D28 = E13 ∨ D28 = E17 ⊃ resEnq ;( D28 = D1 ∨ D28 = D2 ∨ D28 = D3 ∨ D28 = D4 ∨ D28 = D5 ∨ D28 = D6 ∧ ¬ mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success ∨ D28 = D7 ∨ D28 = D8 ∨ D28 = D9 ∨ D28 = D10 ∨ D28 = D11 ∨ D28 = D12 ∨ D28 = D13 ∨ D28 = D14 ∨ D28 = D16 ∨ D28 = D17 ∨ D28 = D18 ∨ D28 = D19 ∨ D28 = D20 ∧ ( mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .nxt ] .deqID = None) ∨ D28 = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls (tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0) .nxt ] .deqID = None ∨ D28 = D25 ∨ D28 = D26 ∨ D28 = D27 ∨ D28 = D28 ∨ D28 = D29 ∨ D28 = D30 ∨ D28 = D31 ∨ D28 = D32 ∨ D28 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid0), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ D27 ≠ D28; (s) ⊦ D26 ≠ D28; (s) ⊦ D25 ≠ D28; (s) ⊦ D21 ≠ D28; (s) ⊦ D20 ≠ D28; (s) ⊦ D19 ≠ D28; (s) ⊦ D18 ≠ D28; (s) ⊦ D17 ≠ D28; (s) ⊦ D16 ≠ D28; (s) ⊦ D14 ≠ D28; (s) ⊦ D13 ≠ D28; (s) ⊦ D12 ≠ D28; (s) ⊦ D11 ≠ D28; (s) ⊦ D10 ≠ D28; (s) ⊦ D9 ≠ D28; (s) ⊦ D8 ≠ D28; (s) ⊦ D7 ≠ D28; (s) ⊦ D6 ≠ D28; (s) ⊦ D5 ≠ D28; (s) ⊦ D4 ≠ D28; (s) ⊦ D3 ≠ D28; (s) ⊦ D2 ≠ D28; (s) ⊦ D1 ≠ D28; (s) ⊦ D28 ≠ E17; (s) ⊦ D28 ≠ E13; (s) ⊦ D28 ≠ E4; (s) ⊦ D28 ≠ E12; (s) ⊦ D28 ≠ E11; (s) ⊦ D28 ≠ E10; (s) ⊦ D28 ≠ E16; (s) ⊦ D28 ≠ E15; (s) ⊦ D28 ≠ E14; (s) ⊦ D28 ≠ E9; (s) ⊦ D28 ≠ E8; (s) ⊦ D28 ≠ E7; (s) ⊦ D28 ≠ E6; (s) ⊦ D28 ≠ E5; (s) ⊦ D28 ≠ E3; (s) ⊦ D28 ≠ E2; (s) ⊦ D28 ≠ E1; (s) ⊦ D28 ≠ crashed; (s) ⊦ D28 ≠ ready; (s) ⊦ D28 ≠ idle; (s)
| vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead5 ∈ orl, vhead0 ∈ orl + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ orl, phead ∈ vs, phead ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs) ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))
ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), listp(orl + qrl, vs, ps, owns) ∧ vhead5 ∈ orl → (∃ rl1, rl2. orl = rl1 + vhead5 ' + rl2 ∧ listp(vhead5 ' + rl2 + qrl, vs, ps, owns)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: ps, orl, owns, vhead5, qrl, vs
| ⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)) |
| ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, orl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + qrl, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nextnottid(tid0, orl.last, vs), noid(tid0, orl + qrl, orl.last, vs), nonullRetRefs(orl + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, phead ∈ orl, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ orl + qrl from vhead3, vhead5 ∈ orl, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(orl + qrl), ¬ dups(orl), ¬ dups(qrl), vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), listp(orl + qrl, vs, ps, owns) ∧ vhead5 ∈ orl → (∃ rl1, rl2. orl = rl1 + vhead5 ' + rl2 ∧ listp(vhead5 ' + rl2 + qrl, vs, ps, owns)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ orl.butlast ≠ [] ∧ orl.butlast.last = orl.last ∧ phead ≠ orl.last ∧ unmarkedp(qrl, vs), vhead0 = (orl + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (orl + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead3 ∈ orl from vhead5 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, orl + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + vhead5 ' + qrl1) + qrl, vs, ps, owns), listp(vhead5 ' + qrl1 + qrl, vs, ps, owns), markedp(qrl1, vs), markedp(qrl0, vs), markedp(qrl1, ps), markedp(qrl0, ps), nextnottid(tid0, (vhead5 ' + qrl1).last, vs), noid(tid0, (qrl0 + vhead5 ' + qrl1) + qrl, (vhead5 ' + qrl1).last, vs), nonullRetRefs((qrl0 + vhead5 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), some?(ps[vhead5].deqID), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ (qrl0 + vhead5 ' + qrl1) + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl1, ¬ vhead5 ∈ qrl0, vs[(vhead5 ' + qrl1).last].next ≠ null ∧ vs[vs[(vhead5 ' + qrl1).last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid)) = Claimed(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid, vs[vs[(vhead5 ' + qrl1).last].next].val), ∀ tid2. absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 ∈ qrl1 ∨ vhead3 ∈ qrl, vhead0 = (vhead5 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead5 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead5 ' + qrl1).butlast).last = (vhead5 ' + qrl1).last ∧ phead ≠ (vhead5 ' + qrl1).last ∧ unmarkedp(qrl, vs), phead ∈ qrl0 ∨ phead = vhead5 ∨ phead ∈ qrl1, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, (qrl0 + vhead5 ' + qrl1) + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(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] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ (x + a ' + y).butlast = x + (a ' + y).butlast; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' + y ≠ []; (s) ⊦ x = y + a ' + z → a ∈ x; (s)
| vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((qrl0 + vhead5 ' + qrl1) + qrl, vs, ps, owns), listp(vhead5 ' + qrl1 + qrl, vs, ps, owns), markedp(qrl1, vs), markedp(qrl0, vs), markedp(qrl1, ps), markedp(qrl0, ps), nextnottid(tid0, (vhead5 ' + qrl1).last, vs), noid(tid0, (qrl0 + vhead5 ' + qrl1) + qrl, (vhead5 ' + qrl1).last, vs), nonullRetRefs((qrl0 + vhead5 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), some?(ps[vhead5].deqID), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ (qrl0 + vhead5 ' + qrl1) + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl1, ¬ vhead5 ∈ qrl0, vs[(vhead5 ' + qrl1).last].next ≠ null ∧ vs[vs[(vhead5 ' + qrl1).last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid)) = Claimed(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid, vs[vs[(vhead5 ' + qrl1).last].next].val), ∀ tid2. absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 ∈ qrl1 ∨ vhead3 ∈ qrl, vhead0 = (vhead5 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead5 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead5 ' + qrl1).butlast).last = (vhead5 ' + qrl1).last ∧ phead ≠ (vhead5 ' + qrl1).last ∧ unmarkedp(qrl, vs), phead ∈ qrl0 ∨ phead = vhead5 ∨ phead ∈ qrl1, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, (qrl0 + vhead5 ' + qrl1) + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), qrl1 = [], rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead5 ' + qrl1 + qrl, vs, ps, owns), listp((qrl0 + vhead5 ' + qrl1) + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl1, ps), markedp(qrl0, vs), markedp(qrl1, vs), nextnottid(tid0, (vhead5 ' + qrl1).last, vs), noid(tid0, (qrl0 + vhead5 ' + qrl1) + qrl, (vhead5 ' + qrl1).last, vs), nonullRetRefs((qrl0 + vhead5 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead5].deqID), some?(vs[vhead5].deqID), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ (qrl0 + vhead5 ' + qrl1) + qrl from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl1, ¬ vhead5 ∈ qrl0, vs[(vhead5 ' + qrl1).last].next ≠ null ∧ vs[vs[(vhead5 ' + qrl1).last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid)) = Claimed(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid, vs[vs[(vhead5 ' + qrl1).last].next].val), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, phead ∈ qrl0 ∨ phead = vhead5 ∨ phead ∈ qrl1, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead5 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead5 ' + qrl1).butlast).last = (vhead5 ' + qrl1).last ∧ phead ≠ (vhead5 ' + qrl1).last ∧ unmarkedp(qrl, vs), vhead0 = (vhead5 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead3 ∈ qrl1 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, (qrl0 + vhead5 ' + qrl1) + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: reflist freely generated by [], +;; ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ x + a ' + y ≠ []; (s) ⊦ (a ' + b ' + x).butlast = a ' + (b ' + x).butlast; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ a + x = a ' + x; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ some?(opttid) → opttid ≠ None; (as)
| ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), qrl1 = [], rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, (vhead5 ' + qrl1).last, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead5 ' + qrl1 + qrl, vs, ps, owns), listp((qrl0 + vhead5 ' + qrl1) + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl1, ps), markedp(qrl0, vs), markedp(qrl1, vs), nextnottid(tid0, (vhead5 ' + qrl1).last, vs), noid(tid0, (qrl0 + vhead5 ' + qrl1) + qrl, (vhead5 ' + qrl1).last, vs), nonullRetRefs((qrl0 + vhead5 ' + qrl1) + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead5].deqID), some?(vs[vhead5].deqID), unmarkedp(qrl, ps), phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ (qrl0 + vhead5 ' + qrl1) + qrl from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl1 + qrl), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1 + qrl), ¬ dups(qrl1), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl1, ¬ vhead5 ∈ qrl0, vs[(vhead5 ' + qrl1).last].next ≠ null ∧ vs[vs[(vhead5 ' + qrl1).last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid)) = Claimed(vs[vs[(vhead5 ' + qrl1).last].next].deqID.tid, vs[vs[(vhead5 ' + qrl1).last].next].val), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ' + qrl1, owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, phead ∈ qrl0 ∨ phead = vhead5 ∨ phead ∈ qrl1, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 + (vhead5 ' + qrl1).butlast ≠ [] ∧ (qrl0 + (vhead5 ' + qrl1).butlast).last = (vhead5 ' + qrl1).last ∧ phead ≠ (vhead5 ' + qrl1).last ∧ unmarkedp(qrl, vs), vhead0 = (vhead5 ' + qrl1 + qrl).last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl1 + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, vhead3 ∈ qrl1 ∨ vhead3 ∈ qrl ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, (vhead5 ' + qrl1).last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, (qrl0 + vhead5 ' + qrl1) + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + qrl, vs, ps, owns), listp(vhead5 ' + qrl, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + qrl, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), some?(ps[vhead5].deqID), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ qrl, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl0, vs[vhead5].next ≠ null ∧ vs[vs[vhead5].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead5].next].deqID.tid)) = Claimed(vs[vs[vhead5].next].deqID.tid, vs[vs[vhead5].next].val), ∀ tid2. absls(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = qrl.last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead5 ∧ phead ≠ qrl0.last ∧ unmarkedp(qrl, vs), phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, qrl0 + vhead5 ' + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(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-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ [] + x = x; (s) ⊦ a '.last = a; (s) ⊦ x + [] = x; (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ ¬ dups([]); (s) ⊦ markedp([], vs); (s)
| vs[ps[vhead5].next].deqID = Some(tid), ps[ps[vhead5].next].deqID = None, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), pcf(vs[qrl.head].deqID.tid)) = apcf(vs[qrl.head].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(vs[qrl.head].deqID.tid) = mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), ps[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), pcf(vs[qrl.head].deqID.tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[qrl.head].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, vhead5, tid1, addr), pcf(vs[qrl.head].deqID.tid), alsf(vs[qrl.head].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + qrl, vs, ps, owns), listp(vhead5 ' + qrl, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + qrl, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), some?(ps[vhead5].deqID), unmarkedp(qrl, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + qrl from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ qrl, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl0, vs[vhead5].next ≠ null ∧ vs[vs[vhead5].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead5].next].deqID.tid)) = Claimed(vs[vs[vhead5].next].deqID.tid, vs[vs[vhead5].next].val), ∀ tid2. absls(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21, vhead0 = qrl.last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, (qrl ≠ [] → unmarkedp(qrl.tail, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead5 ∧ phead ≠ qrl0.last ∧ unmarkedp(qrl, vs), phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl.tail, qrl0 + vhead5 ' + qrl.head ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), qrl = phead0 + qrl1, rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, qrl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead5 ' + qrl, vs, ps, owns), listp(qrl0 + vhead5 ' + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + qrl, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead5].deqID), some?(vs[vhead5].deqID), unmarkedp(qrl, ps), vhead3 ∈ ps, vhead3 ∈ vs, vhead3 ∈ qrl, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + qrl from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl0, vs[vhead5].next ≠ null ∧ vs[vs[vhead5].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead5].next].deqID.tid)) = Claimed(vs[vs[vhead5].next].deqID.tid, vs[vs[vhead5].next].val), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, (qrl ≠ [] → unmarkedp(qrl1, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead5 ∧ phead ≠ qrl0.last ∧ unmarkedp(qrl, vs), vhead0 = qrl.last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + phead0 ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ a ∈ []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, phead0, y
| ps[ps[vhead5].next].deqID = None, vs[ps[vhead5].next].deqID = Some(tid), abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), qrl = phead0 + qrl1, rvowns(addr0) = Claimed(tid, vs[ps[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), ps[vhead5].next ≠ null, addr0 ≠ null, qrl ≠ [], vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, vhead5, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vhead5 ' + qrl, vs, ps, owns), listp(qrl0 + vhead5 ' + qrl, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + qrl, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + qrl, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead5].deqID), some?(vs[vhead5].deqID), unmarkedp(qrl, ps), vhead3 ∈ ps, vhead3 ∈ vs, vhead3 ∈ qrl, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + qrl from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl), ¬ dups(qrl0), ¬ dups(qrl), ¬ vhead5 ∈ qrl, ¬ vhead5 ∈ qrl0, vs[vhead5].next ≠ null ∧ vs[vs[vhead5].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead5].next].deqID.tid)) = Claimed(vs[vs[vhead5].next].deqID.tid, vs[vs[vhead5].next].val), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc(mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, (qrl ≠ [] → unmarkedp(qrl1, vs)) ∨ qrl0 ≠ [] ∧ qrl0.last = vhead5 ∧ phead ≠ qrl0.last ∧ unmarkedp(qrl, vs), vhead0 = qrl.last ∨ qrl ≠ [] ∧ vhead0 = (vhead5 ' + qrl.butlast).last ∧ vs[qrl.last].deqID = None ∧ vs[qrl.last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[ps[vhead5].next, ps[ps[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + phead0 ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[ps[vhead5].next].val), vhead2, nd0, false, vhead3, ps[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(content(qrl, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ Some(tid).tid = tid; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ ⊦ None ≠ Some(tid); (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ a + x = a ' + x; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s)
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used formulas: apcf(tid) = invDeq
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ tid = alsf(tid).tid ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid)))))
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ' + x ≠ []; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ DoDeq(tid) = DoDeq(tid0) ↔ tid = tid0; (s) ⊦ DoDeq(tid) ≠ DoDeqEmpty(tid0); (s) ⊦ CheckEmp(tid) ≠ DoDeq(tid0); (s) ⊦ pre(gs, ls, invDeq, a) ↔ a = CheckEmp(ls.tid) ∧ gs.queue = [] ∨ a = DoDeqEmpty(ls.tid) ∧ ls.obsEmpty ∨ a = DoDeq(ls.tid) ∧ gs.queue ≠ []; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ tid = alsf(tid).tid ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid))))) |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ tid = tid3 ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid)))))
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty1, alsf(tid), oval, tid3, optval4
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ tid = tid3 ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), invDeq, DoDeq(tid))))) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid3, obsEmpty1, val3, optval4, val4, optval5)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ tid = tid3 ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3)), alsf(tid3; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3))), apcf(tid3; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3)))))
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid3, obsEmpty1, val3, optval4, val4, optval5)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ tid = tid3 ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3)), alsf(tid3; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3))), apcf(tid3; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3))))) |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).tid, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null → mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).oval = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = D34 → mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).oval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ tid = tid3 ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3)), alsf(tid3; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3))), apcf(tid3; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3)))))
Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid3, obsEmpty1, val3, optval4, val4, optval5)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).tid, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null → mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).oval = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = D34 → mkls(tid3, obsEmpty1, val3, optval4, val4, optval5).oval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ tid = tid3 ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3)), alsf(tid3; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3))), apcf(tid3; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid3), invDeq, DoDeq(tid3))))) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0)), pcf(tid0; D29)), mkstate(mkgs(content(qrl1, ps)), alsf(tid3; mkls(tid3, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), apcf(tid3; resDeq))), ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ pcstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = resDeq; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ (a ' + x).head = a; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ lstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = mkls(tid, obsEmpty, ival, Val(gs.queue.head), value, optval); (s) ⊦ mkgs(queue).queue:= queue0 = mkgs(queue0); (s) ⊦ (a ' + x).tail = x; (s) ⊦ gstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = gs.queue:= gs.queue.tail; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0)), pcf(tid0; D29)), mkstate(mkgs(content(qrl1, ps)), alsf(tid3; mkls(tid3, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), apcf(tid3; resDeq))), ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid))
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, content(qrl1, ps) ≠ content (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .qrl, mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ) (tid), pcf(tid0; D29)(tid), alsf(tid3; mkls(tid3, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5))(tid)) ∧ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ) (tid), pcf(tid0; D29)(tid)) = apcf(tid3; resDeq)(tid))) ⊦
Used terms: alsf (tid3; mkls(tid3, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), lsf (tid0 ; mkls (tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ), content(qrl1, ps), apcf(tid3; resDeq), pcf(tid0; D29), mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns)
| ⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid)) |
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, content(qrl1, ps) ≠ content (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .qrl, mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ) (tid), pcf(tid0; D29)(tid), alsf(tid3; mkls(tid3, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5))(tid)) ∧ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0 ; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0) ) (tid), pcf(tid0; D29)(tid)) = apcf(tid3; resDeq)(tid))) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid))) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)) ⊦
Used simplifier rules: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid))) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)) ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), tid0 = tid, vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid))) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid))) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
Used formulas: tid0 = tid
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), tid0 = tid, vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid))) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid) = mkls(tid, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid) = D28, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid)) = Pending(tid), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid, vhead5, vs), noid(tid, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);mkls(tid, obsEmpty0, val1, optval1, val2, optval3))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29) ≠ (tid3 = tid ⊃ resDeq;invDeq) ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid) = mkls(tid, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid) = D28, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid)) = Pending(tid), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid, vhead5, vs), noid(tid, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);mkls(tid, obsEmpty0, val1, optval1, val2, optval3))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29) ≠ (tid3 = tid ⊃ resDeq;invDeq) ⊦ |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid) = mkls(tid, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid) = D28, pretRefs(tid) = vretRefs(tid), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid)) = Pending(tid), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid, vhead5, vs), noid(tid, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);mkls(tid, obsEmpty0, val1, optval1, val2, optval3))) ∨ (D29 = idle ⊃ idle ;(D29 = ready ⊃ ready ;(D29 = crashed ⊃ crashed ;( D29 = E1 ∨ D29 = E2 ∨ D29 = E3 ∨ D29 = E4 ∧ ¬ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success ∨ D29 = E5 ∨ D29 = E6 ∨ D29 = E7 ∨ D29 = E8 ∨ D29 = E9 ∨ D29 = E10 ∧ ( mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success → mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst ] .next = null) ∨ D29 = E11 ∧ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst ] .next = null ∨ D29 = E13 ∨ D29 = E14 ∨ D29 = E15 ∨ D29 = E16 ⊃ invEnq ;(D29 = E10 ∨ D29 = E11 ∨ D29 = E12 ∨ D29 = E4 ∨ D29 = E13 ∨ D29 = E17 ⊃ resEnq ;( D29 = D1 ∨ D29 = D2 ∨ D29 = D3 ∨ D29 = D4 ∨ D29 = D5 ∨ D29 = D6 ∧ ¬ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success ∨ D29 = D7 ∨ D29 = D8 ∨ D29 = D9 ∨ D29 = D10 ∨ D29 = D11 ∨ D29 = D12 ∨ D29 = D13 ∨ D29 = D14 ∨ D29 = D16 ∨ D29 = D17 ∨ D29 = D18 ∨ D29 = D19 ∨ D29 = D20 ∧ ( mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success → mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .nxt ] .deqID = None) ∨ D29 = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .nxt ] .deqID = None ∨ D29 = D25 ∨ D29 = D26 ∨ D29 = D27 ∨ D29 = D28 ∨ D29 = D29 ∨ D29 = D30 ∨ D29 = D31 ∨ D29 = D32 ∨ D29 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ (tid3 = tid ⊃ resDeq;invDeq), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
Used terms: mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid) = mkls(tid, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid) = mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid) = D28, pretRefs(tid) = vretRefs(tid), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid)) = Pending(tid), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid, vhead5, vs), noid(tid, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);mkls(tid, obsEmpty0, val1, optval1, val2, optval3))) ∨ (D29 = idle ⊃ idle ;(D29 = ready ⊃ ready ;(D29 = crashed ⊃ crashed ;( D29 = E1 ∨ D29 = E2 ∨ D29 = E3 ∨ D29 = E4 ∧ ¬ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success ∨ D29 = E5 ∨ D29 = E6 ∨ D29 = E7 ∨ D29 = E8 ∨ D29 = E9 ∨ D29 = E10 ∧ ( mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success → mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst ] .next = null) ∨ D29 = E11 ∧ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .lst ] .next = null ∨ D29 = E13 ∨ D29 = E14 ∨ D29 = E15 ∨ D29 = E16 ⊃ invEnq ;(D29 = E10 ∨ D29 = E11 ∨ D29 = E12 ∨ D29 = E4 ∨ D29 = E13 ∨ D29 = E17 ⊃ resEnq ;( D29 = D1 ∨ D29 = D2 ∨ D29 = D3 ∨ D29 = D4 ∨ D29 = D5 ∨ D29 = D6 ∧ ¬ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success ∨ D29 = D7 ∨ D29 = D8 ∨ D29 = D9 ∨ D29 = D10 ∨ D29 = D11 ∨ D29 = D12 ∨ D29 = D13 ∨ D29 = D14 ∨ D29 = D16 ∨ D29 = D17 ∨ D29 = D18 ∨ D29 = D19 ∨ D29 = D20 ∧ ( mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .success → mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .nxt ] .deqID = None) ∨ D29 = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) .nxt ] .deqID = None ∨ D29 = D25 ∨ D29 = D26 ∨ D29 = D27 ∨ D29 = D28 ∨ D29 = D29 ∨ D29 = D30 ∨ D29 = D31 ∨ D29 = D32 ∨ D29 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ (tid3 = tid ⊃ resDeq;invDeq), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid) = mkls(tid, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid) = D28, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid)) = Pending(tid), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid, vhead5, vs), noid(tid, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, mkls(tid, obsEmpty0, val1, optval1, val2, optval3)) ∨ tid3 = tid ⊦
Used simplifier rules: ⊦ invDeq ≠ resDeq; (s) ⊦ D28 ≠ D29; (s) ⊦ D27 ≠ D29; (s) ⊦ D26 ≠ D29; (s) ⊦ D25 ≠ D29; (s) ⊦ D21 ≠ D29; (s) ⊦ D20 ≠ D29; (s) ⊦ D19 ≠ D29; (s) ⊦ D18 ≠ D29; (s) ⊦ D17 ≠ D29; (s) ⊦ D16 ≠ D29; (s) ⊦ D14 ≠ D29; (s) ⊦ D13 ≠ D29; (s) ⊦ D12 ≠ D29; (s) ⊦ D11 ≠ D29; (s) ⊦ D10 ≠ D29; (s) ⊦ D9 ≠ D29; (s) ⊦ D8 ≠ D29; (s) ⊦ D7 ≠ D29; (s) ⊦ D6 ≠ D29; (s) ⊦ D5 ≠ D29; (s) ⊦ D4 ≠ D29; (s) ⊦ D3 ≠ D29; (s) ⊦ D2 ≠ D29; (s) ⊦ D1 ≠ D29; (s) ⊦ D29 ≠ E17; (s) ⊦ D29 ≠ E13; (s) ⊦ D29 ≠ E4; (s) ⊦ D29 ≠ E12; (s) ⊦ D29 ≠ E11; (s) ⊦ D29 ≠ E10; (s) ⊦ D29 ≠ E16; (s) ⊦ D29 ≠ E15; (s) ⊦ D29 ≠ E14; (s) ⊦ D29 ≠ E9; (s) ⊦ D29 ≠ E8; (s) ⊦ D29 ≠ E7; (s) ⊦ D29 ≠ E6; (s) ⊦ D29 ≠ E5; (s) ⊦ D29 ≠ E3; (s) ⊦ D29 ≠ E2; (s) ⊦ D29 ≠ E1; (s) ⊦ D29 ≠ crashed; (s) ⊦ D29 ≠ ready; (s) ⊦ D29 ≠ idle; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid) = mkls(tid, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid) = mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid) = D28, pretRefs(tid) = vretRefs(tid), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid)) = Pending(tid), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid, vhead5, vs), noid(tid, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, mkls(tid, obsEmpty0, val1, optval1, val2, optval3)) ∨ tid3 = tid ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ D29 ≠ E1; (s) ⊦ D29 ≠ E2; (s) ⊦ D29 ≠ E3; (s) ⊦ D29 ≠ E4; (s) ⊦ D29 ≠ E5; (s) ⊦ D29 ≠ E6; (s) ⊦ D29 ≠ E7; (s) ⊦ D29 ≠ E8; (s) ⊦ D29 ≠ E9; (s) ⊦ D29 ≠ E10; (s) ⊦ D29 ≠ E11; (s) ⊦ D29 ≠ E13; (s) ⊦ D29 ≠ E14; (s) ⊦ D29 ≠ E15; (s) ⊦ D29 ≠ E16; (s) ⊦ D10 ≠ D29; (s) ⊦ D11 ≠ D29; (s) ⊦ D12 ≠ D29; (s) ⊦ D13 ≠ D29; (s) ⊦ D14 ≠ D29; (s) ⊦ D20 ≠ D29; (s) ⊦ D21 ≠ D29; (s) ⊦ D22 ≠ D29; (s) ⊦ D15 ≠ D29; (s) ⊦ D23 ≠ D29; (s) ⊦ D24 ≠ D29; (s) ⊦ D6 ≠ D29; (s) ⊦ D29 ≠ D34; (s) ⊦ Pending(tid) ≠ Claimed(tid0, val); (s) Used terms: mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls (tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0), D29, mkls(tid, obsEmpty0, val1, optval1, val2, optval3)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid)), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), (tid0 = tid ⊃ mkls(tid, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid), optval2, vhead5, tid3, addr0) ;lsf(tid) ), (tid0 = tid ⊃ D29;pcf(tid))) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)) ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)) ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), tid3 = tid, vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
Used formulas: tid3 = tid
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), tid3 = tid, vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], pcf(tid) = D22 → optval4 = optval, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) ≠ resDeq ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], pcf(tid) = D22 → optval4 = optval, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) ≠ resDeq ⊦ |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, pcf(tid) = D22 → optval4 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ (pcf(tid) = idle ⊃ idle ;(pcf(tid) = ready ⊃ ready ;(pcf(tid) = crashed ⊃ crashed ;( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ⊃ invEnq ;(pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E13 ∨ pcf(tid) = E17 ⊃ resEnq ;( pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resDeq, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦
Used terms: mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls (tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, pcf(tid) = D22 → optval4 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ (pcf(tid) = idle ⊃ idle ;(pcf(tid) = ready ⊃ ready ;(pcf(tid) = crashed ⊃ crashed ;( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ⊃ invEnq ;(pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E13 ∨ pcf(tid) = E17 ⊃ resEnq ;( pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resDeq, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], pcf(tid) = D22 → optval4 = optval, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ∨ pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E17 ∨ pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ¬ obsEmpty ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33 ⊦
Used simplifier rules: ⊦ invDeq ≠ resDeq; (s) ⊦ resDeq ≠ resEnq; (s) ⊦ invEnq ≠ resDeq; (s) ⊦ crashed ≠ resDeq; (s) ⊦ ready ≠ resDeq; (s) ⊦ idle ≠ resDeq; (s) ⊦ None ≠ Some(tid); (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], pcf(tid) = D22 → optval4 = optval, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ∨ pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E17 ∨ pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ¬ obsEmpty ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), obsEmpty, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, pcf(tid) = D22 → optval4 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ∨ pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E17 ∨ pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ¬ obsEmpty ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, pcf(tid) = D22 → optval4 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ∨ pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E17 ∨ pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ¬ obsEmpty ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), obsEmpty, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, pcf(tid) = D22 → optval4 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ∨ pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E17 ∨ pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ¬ obsEmpty ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20, mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦
Used simplifier rules: ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D7 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s)
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20, mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid ≠ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).tid ∨ ¬ ( D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ D20 = E11 ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value = mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).ival) ∨ ¬ ( (D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).obsEmpty) ∨ ¬ ( D20 = D20 ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D20 = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D20 = D22 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval) ∨ ¬ ( D20 = D15 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D6 ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D20 = D34 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vrvHp [mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ]) ⊦
Used terms: mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls (tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20, mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid ≠ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).tid ∨ ¬ ( D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ D20 = E11 ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value = mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).ival) ∨ ¬ ( (D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).obsEmpty) ∨ ¬ ( D20 = D20 ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D20 = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D20 = D22 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval) ∨ ¬ ( D20 = D15 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D6 ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D20 = D34 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vrvHp [mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ]) ⊦ |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦
Used simplifier rules: ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ None ≠ Some(tid); (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, D20 = D3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = D6 → ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D20 = D9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D20 = D10 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D20 = D11 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D20 = D12 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next), D20 = D13 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D20 = D14 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D20 = D15 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D20 = D19 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success) ∧ (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ), D20 = D21 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first), D20 = D22 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D20 = D23 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D20 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D20 = D25 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D20 = D26 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid)) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D20 = D27 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D20 = D28 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D20 = D29 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D20 = D30 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D20 = D31 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D20 = D34 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ⊃ Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E6 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail), D20 = E7 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D20 = E8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D20 = E9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D20 = E10 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D20 = E11 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D20 = E12 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E14 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → nextnottid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 ∨ D20 = E1 ∨ D20 = E12 ∨ D20 = E17 → noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps), D20 = E10 → (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ) ;oneowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), D20 = E11 → ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ), D20 = E4 → (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ;oneowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, D20 = D3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = D6 → ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D20 = D9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D20 = D10 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D20 = D11 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D20 = D12 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next), D20 = D13 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D20 = D14 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D20 = D15 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D20 = D19 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success) ∧ (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ), D20 = D21 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first), D20 = D22 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D20 = D23 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D20 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D20 = D25 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D20 = D26 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid)) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D20 = D27 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D20 = D28 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D20 = D29 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D20 = D30 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D20 = D31 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D20 = D34 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ⊃ Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E6 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail), D20 = E7 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D20 = E8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D20 = E9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D20 = E10 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D20 = E11 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D20 = E12 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E14 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ≠ null ∧ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ≠ mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → nextnottid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 ∨ D20 = E1 ∨ D20 = E12 ∨ D20 = E17 → noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps), D20 = E10 → (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ) ;oneowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), D20 = E11 → ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ), D20 = E4 → (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ noowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ;oneowns (mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid) = vretRefs(tid), pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, ps[vs[vhead5].next].val ≠ vs[vs[vhead5].next].val, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead1, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid, (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1, vs[vhead5].next, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead0 ∈ (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1 from vhead1, vretRefs(tid) ∈ vrvHp, vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead1 = vs[vhead5].next ∨ vhead1 ∈ qrl1, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ Val(val) = Val(val0) ↔ val = val0; (s) ⊦ D3 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D19 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ 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) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ (a ' + x).head = a; (s) ⊦ a ' + x ≠ []; (s) ⊦ D20 ≠ D21; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ D32; (s) ⊦ D7 ≠ D20; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), D20) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid) = vretRefs(tid), pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, ps[vs[vhead5].next].val ≠ vs[vs[vhead5].next].val, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead1, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid, (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1, vs[vhead5].next, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead0 ∈ (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1 from vhead1, vretRefs(tid) ∈ vrvHp, vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead1 = vs[vhead5].next ∨ vhead1 ∈ qrl1, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
Used simplifier rules: reflist freely generated by [], +;; ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ unmarkedp([], vs); (s) ⊦ x + [] = x; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s)
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val3, pcf(tid) = D22 → optval4 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval4 = vrvHp[vretRefs(tid)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)) ∨ pcf(tid) = idle ∨ pcf(tid) = ready ∨ pcf(tid) = crashed ∨ pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 ∨ pcf(tid) = E10 ∨ pcf(tid) = E11 ∨ pcf(tid) = E12 ∨ pcf(tid) = E4 ∨ pcf(tid) = E17 ∨ pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ ¬ obsEmpty ∨ pcf(tid) = D25 ∨ pcf(tid) = D26 ∨ pcf(tid) = D27 ∨ pcf(tid) = D28 ∨ pcf(tid) = D29 ∨ pcf(tid) = D30 ∨ pcf(tid) = D31 ∨ pcf(tid) = D32 ∨ pcf(tid) = D33, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21, mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦
Used simplifier rules: ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D7 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D22; (s)
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21, mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)), ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid ≠ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).tid ∨ ¬ ( D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ D21 = E11 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value = mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).ival) ∨ ¬ ( (D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).obsEmpty) ∨ ¬ ( D21 = D20 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D21 = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D21 = D22 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval) ∨ ¬ ( D21 = D15 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D6 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D21 = D34 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vrvHp [mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ]) ⊦
Used terms: mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), mkls (tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21, mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid ≠ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).tid ∨ ¬ ( D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null) ∨ D21 = E11 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value = mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).ival) ∨ ¬ ( (D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).obsEmpty) ∨ ¬ ( D21 = D20 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D21 = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∨ D21 = D22 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval) ∨ ¬ ( D21 = D15 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D6 ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∨ D21 = D34 → mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5).oval = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vrvHp [mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ]) ⊦ |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦
Used simplifier rules: ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ None ≠ Some(tid); (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D20 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, D21 = D3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = D6 → ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D21 = D9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D21 = D10 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D21 = D12 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next), D21 = D13 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D21 = D14 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D21 = D15 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D21 = D19 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success) ∧ (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ), D21 = D21 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first), D21 = D22 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D21 = D25 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D21 = D26 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid)) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D21 = D27 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D21 = D28 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D21 = D29 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D21 = D30 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D21 = D31 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D21 = D34 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ⊃ Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E6 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D21 = E8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D21 = E9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D21 = E10 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D21 = E11 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D21 = E12 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E14 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → nextnottid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps), D21 = E10 → (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ) ;oneowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ), D21 = E4 → (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ;oneowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, Val(ps[vs[vhead5].next].val) ≠ optval, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, D21 = D3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = D6 → ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D21 = D9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D21 = D10 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next), D21 = D12 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next), D21 = D13 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D21 = D14 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null, D21 = D15 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D21 = D19 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success) ∧ (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ; mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ), D21 = D21 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first), D21 = D22 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ], D21 = D25 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ⊕ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs )[mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D21 = D26 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid)) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D21 = D27 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val)), D21 = D28 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D21 = D29 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D21 = D30 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).othertid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val), D21 = D31 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ] .next, D21 = D34 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).prvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Empty ⊃ Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E3 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E5 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E6 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D21 = E8 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D21 = E9 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst), D21 = E10 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D21 = E11 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] .val = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node), D21 = E12 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E14 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node) = Some(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ] = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl from mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).pretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).rvowns (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval.val) ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ∈ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).addr ≠ null ∧ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).optval = Val (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead ≠ mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first → nextnottid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vhead, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).first, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).orl + mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).qrl, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).nxt, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps), D21 = E10 → (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ) ;oneowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs [mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ;noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ), D21 = E4 → (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).success ⊃ noowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns) ;oneowns (mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).tid, mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr).node, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).owns, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vs, mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps) ), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid) = vretRefs(tid), pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, ps[vs[vhead5].next].val ≠ vs[vs[vhead5].next].val, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead1, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid, (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1, vs[vhead5].next, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead0 ∈ (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1 from vhead1, vretRefs(tid) ∈ vrvHp, vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead1 = vs[vhead5].next ∨ vhead1 ∈ qrl1, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ Val(val) = Val(val0) ↔ val = val0; (s) ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (a ' + x).head = a; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ a ' + x ≠ []; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), D21) = invDeq, alsf(tid) = mkls(tid, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, Val(vs[vs[vhead5].next].val), vhead, nd, true, vhead1, vs[vhead5].next, vretRefs(tid), optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid) = vretRefs(tid), pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, ps[vs[vhead5].next].val ≠ vs[vs[vhead5].next].val, addr0 ≠ null, tid0 ≠ tid, vhead5 ≠ vhead1, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid) ≠ null, vretRefs(tid0) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid, (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1, vs[vhead5].next, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid, owns), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead0 ∈ (qrl0 + vhead5 ') + vs[vhead5].next ' + qrl1 from vhead1, vretRefs(tid) ∈ vrvHp, vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead1 = vs[vhead5].next ∨ vhead1 ∈ qrl1, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
Used simplifier rules: reflist freely generated by [], +;; ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ unmarkedp([], vs); (s) ⊦ x + [] = x; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), (tid3 = tid ⊃ mkls(tid, obsEmpty1, val3, Val(ps[vs[vhead5].next].val), val4, optval5);alsf(tid))) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (tid3 = tid ⊃ resDeq;apcf(tid)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
Used terms: tid
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid)) ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid)) ≠ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid)) ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ abspc(gs, ls, pc) = abspc(gs0, ls0, pc) ↔ (pc = E4 ⊃ ls.success ↔ ls0.success ;(pc = E10 ⊃ ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ↔ ls0.success → ls0.lst = gs0.vtail ∧ gs0.ps[ls0.lst].next = null ;(pc = E11 ⊃ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ↔ ls0.lst = gs0.vtail ∧ gs0.ps[ls0.lst].next = null ;(pc = D6 ⊃ ls.success ↔ ls0.success ;(pc = D20 ⊃ ls.success → gs.ps[ls.nxt].deqID = None ↔ ls0.success → gs0.ps[ls0.nxt].deqID = None ;(pc = D21 ⊃ gs.ps[ls.nxt].deqID = None ↔ gs0.ps[ls0.nxt].deqID = None ;true ) ) ) ) ) ); (s)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ absls (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ¬ ( lsf(tid).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( lsf(tid).success → lsf(tid).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∧ ((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vrvHp [mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used terms: mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ¬ ( lsf(tid).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( lsf(tid).success → lsf(tid).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vtail ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∧ ((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vrvHp [mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, lsf(tid).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, lsf(tid).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), lsf(tid).tid ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty2, alsf(tid), oval, tid4, optval6
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), lsf(tid).tid ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, lsf(tid).tid ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, lsf(tid).tid ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), tid5 ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val7 = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = optval8) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty3 ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(tid5)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[phead1].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null ↔ ps[phead1].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
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, optval8, node, nd1, lsf(tid), addr1, tid5, lst, first, rvref0, othertid, success, optval8
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), tid5 ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val7 = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = optval8) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty3 ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(tid5)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[phead1].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead1].next = null ↔ ps[phead1].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, tid5 ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val7 = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = optval8) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty3 ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, tid5 ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val7 = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = optval8) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty3 ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, lsf(tid).tid = tid, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, tid5 ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val7 = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = optval8) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty3 ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used terms: tid
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, lsf(tid).tid = tid, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid, tid3 ≠ tid, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, tid5 ≠ tid4 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val7 = val5) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid) = D22 → optval6 = optval8) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty3 ∨ pcf(tid) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid5) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid5) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid5, tid3 ≠ tid5, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, tid5 ≠ tid4 ∨ ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬((pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬(pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid5) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid5) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid5, tid3 ≠ tid5, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, tid5 ≠ tid4 ∨ ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬((pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬(pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).tid = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).tid, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid5) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid5) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid5, tid3 ≠ tid5, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid5) = E1 ∨ pcf(tid5) = E2 ∨ pcf(tid5) = E3 ∨ pcf(tid5) = E4 ∧ ¬ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success ∨ pcf(tid5) = E5 ∨ pcf(tid5) = E6 ∨ pcf(tid5) = E7 ∨ pcf(tid5) = E8 ∨ pcf(tid5) = E9 ∨ pcf(tid5) = E10 ∧ ( mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success → mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst ] .next = null) ∨ pcf(tid5) = E11 ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst ] .next = null ∨ pcf(tid5) = E13 ∨ pcf(tid5) = E14 ∨ pcf(tid5) = E15 ∨ pcf(tid5) = E16 → mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).value = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).ival, (pcf(tid5) = D10 ∨ pcf(tid5) = D11 ∨ pcf(tid5) = D12 ∨ pcf(tid5) = D13 ∨ pcf(tid5) = D14) ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).nxt = null → mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).obsEmpty, pcf(tid5) = D20 ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).nxt ] .deqID ≠ None ∨ pcf(tid5) = D21 ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).nxt ] .deqID ≠ None ∨ pcf(tid5) = D22 → mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).oval = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).optval, pcf(tid5) = D15 ∨ pcf(tid5) = D23 ∨ pcf(tid5) = D24 ∨ pcf(tid5) = D6 ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success ∨ pcf(tid5) = D34 → mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).oval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).tid) ], tid5 ≠ tid4 ∨ ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬((pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬(pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦
Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5), mkls(tid4, obsEmpty2, val5, optval6, val6, optval7)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).tid = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).tid, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid5) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid5) = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid5, tid3 ≠ tid5, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid5)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid5) = E1 ∨ pcf(tid5) = E2 ∨ pcf(tid5) = E3 ∨ pcf(tid5) = E4 ∧ ¬ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success ∨ pcf(tid5) = E5 ∨ pcf(tid5) = E6 ∨ pcf(tid5) = E7 ∨ pcf(tid5) = E8 ∨ pcf(tid5) = E9 ∨ pcf(tid5) = E10 ∧ ( mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success → mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst ] .next = null) ∨ pcf(tid5) = E11 ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vtail ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).lst ] .next = null ∨ pcf(tid5) = E13 ∨ pcf(tid5) = E14 ∨ pcf(tid5) = E15 ∨ pcf(tid5) = E16 → mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).value = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).ival, (pcf(tid5) = D10 ∨ pcf(tid5) = D11 ∨ pcf(tid5) = D12 ∨ pcf(tid5) = D13 ∨ pcf(tid5) = D14) ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).nxt = null → mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).obsEmpty, pcf(tid5) = D20 ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).nxt ] .deqID ≠ None ∨ pcf(tid5) = D21 ∧ mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).ps [mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).nxt ] .deqID ≠ None ∨ pcf(tid5) = D22 → mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).oval = mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).optval, pcf(tid5) = D15 ∨ pcf(tid5) = D23 ∨ pcf(tid5) = D24 ∨ pcf(tid5) = D6 ∧ mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).success ∨ pcf(tid5) = D34 → mkls(tid4, obsEmpty2, val5, optval6, val6, optval7).oval = mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vrvHp [mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns).vretRefs (mkls(tid5, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1).tid) ], tid5 ≠ tid4 ∨ ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬((pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬(pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)]) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, pcf(tid4) = E10 ∨ pcf(tid4) = E11 ⊦
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used formulas: pcf(tid4) = E10 ∨ pcf(tid4) = E11
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, pcf(tid4) = E10 ∨ pcf(tid4) = E11 ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vhead0 = vs[vhead5].next, vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E10 ∨ pcf(tid4) = E11, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead0 ≠ vs[vhead5].next, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E10 ∨ pcf(tid4) = E11, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦
Used terms: ps, vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3), vhead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vhead0 = vs[vhead5].next, vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E10 ∨ pcf(tid4) = E11, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vs[vhead5].next, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vs[vhead5].next, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vs[vhead5].next, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vs[vhead5].next ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vs[vhead5].next = (vs[vhead5].next ' + qrl1).last ∨ vs[vhead5].next = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, pcf(tid4) = E10 ∨ pcf(tid4) = E11, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ E10 → pcf(tid4) ≠ E11 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦
Used simplifier rules: ⊦ (nd.deqID:= opttid).next = nd.next; (s) ⊦ a = b → st[b, d][a] = d; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vs[vhead5].next, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vs[vhead5].next, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vs[vhead5].next, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vs[vhead5].next ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vs[vhead5].next ∧ ps[vs[vhead5].next].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vs[vhead5].next = (vs[vhead5].next ' + qrl1).last ∨ vs[vhead5].next = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, pcf(tid4) = E10 ∨ pcf(tid4) = E11, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ E10 → pcf(tid4) ≠ E11 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead0 ≠ vs[vhead5].next, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E10 ∨ pcf(tid4) = E11, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead0 ≠ vs[vhead5].next, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, pcf(tid4) = E10 ∨ pcf(tid4) = E11, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ E10 → pcf(tid4) ≠ E11 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead0 ≠ vs[vhead5].next, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5, pcf(tid4) = E10 ∨ pcf(tid4) = E11, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ E10 → pcf(tid4) ≠ E11 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, ¬ ( pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E10 ∧ (obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null) ∨ pcf(tid4) = E11 ∧ phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5) ∨ ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → (pcf(tid4) = E10 ⊃ obsEmpty3 → phead1 = vhead0 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ obsEmpty3 → phead1 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid4) = E11 ⊃ phead1 = vhead0 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) ) ) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, phead2 = vs[vhead5].next, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used terms: ps, vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3), phead2
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, phead2 = vs[vhead5].next, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, phead2, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8, (pcf(tid4) = D10 ∨ pcf(tid4) = D11 ∨ pcf(tid4) = D12 ∨ pcf(tid4) = D13 ∨ pcf(tid4) = D14) ∧ phead2 = null → obsEmpty2, ¬ ( pcf(tid4) = D20 ∧ obsEmpty3 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D21 ∧ ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID ≠ None ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬ ( pcf(tid4) ≠ E4 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ obsEmpty3 → ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ obsEmpty3 → ps[phead2].deqID = None ;pcf(tid4) = D21 → (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid3)][phead2].deqID = None ↔ ps[phead2].deqID = None) )), pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid4) = D22 → optval6 = optval8, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬(pcf(tid4) = D20 ∧ obsEmpty3 ∨ pcf(tid4) = D21 ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬(pcf(tid4) ≠ E4 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ ¬ obsEmpty3;pcf(tid4) ≠ D21)) ⊦
Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid4) = D22 → optval6 = optval8, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, ¬(pcf(tid4) = D20 ∧ obsEmpty3 ∨ pcf(tid4) = D21 ∨ pcf(tid4) = D22 → optval6 = optval8) ∨ ¬(pcf(tid4) ≠ E4 → pcf(tid4) ≠ D6 → (pcf(tid4) = D20 ⊃ ¬ obsEmpty3;pcf(tid4) ≠ D21)) ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∨ pcf(tid4) = D21 ∨ pcf(tid4) = D22, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ (pcf(tid4) = D20 ⊃ ¬ obsEmpty3;pcf(tid4) ≠ D21)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D20 ∧ obsEmpty3 ∨ pcf(tid4) = D21 ∨ pcf(tid4) = D22, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, pcf(tid4) ≠ D22, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, pcf(tid4) = D20 ∧ obsEmpty3 ∨ pcf(tid4) = D21 ⊦
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, pcf(tid4) ≠ D22, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, pcf(tid4) = D20 ∧ obsEmpty3 ∨ pcf(tid4) = D21 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), obsEmpty3, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, pcf(tid4) ≠ D22, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, pcf(tid4) ≠ D22, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), obsEmpty3, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, pcf(tid4) ≠ D22, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ D22; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, pcf(tid4) ≠ D22, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ D22; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, optval6 ≠ optval8, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ a ' + x ≠ []; (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) .qrl = qrl; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E4 ∧ ¬ obsEmpty3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D6 ∧ obsEmpty3 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ (pcf(tid4) = D20 ⊃ ¬ obsEmpty3;pcf(tid4) ≠ D21) |
vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ (pcf(tid4) = D20 ⊃ ¬ obsEmpty3;pcf(tid4) ≠ D21)
| vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid4) = D22 → optval6 = optval8, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21 ⊦ (pcf(tid4) = D20 ⊃ ¬ obsEmpty3;pcf(tid4) ≠ D21) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), obsEmpty3, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D22 → optval6 = optval8, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid4) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D20, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D22 → optval6 = optval8, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), obsEmpty3, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D22 → optval6 = optval8, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid4) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid4, val7, optval8, phead0, nd1, true, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid4) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, pcf(tid4) ≠ D20, pcf(tid4) ≠ D6, pcf(tid4) ≠ E4, pcf(tid4) ≠ E10, pcf(tid4) ≠ E11, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vhead3, vhead5 ≠ null, vhead5 ≠ vs[vhead5].next, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), pcf(tid4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl0 + qrl1), ¬ dups(qrl0), ¬ dups(qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl0, ¬ vs[vhead5].next ∈ qrl0, ¬ vs[vhead5].next ∈ qrl1, ¬ vhead5 ∈ qrl1, pcf(tid4) = E1 ∨ pcf(tid4) = E2 ∨ pcf(tid4) = E3 ∨ pcf(tid4) = E5 ∨ pcf(tid4) = E6 ∨ pcf(tid4) = E7 ∨ pcf(tid4) = E8 ∨ pcf(tid4) = E9 ∨ pcf(tid4) = E13 ∨ pcf(tid4) = E14 ∨ pcf(tid4) = E15 ∨ pcf(tid4) = E16 → val7 = val5, pcf(tid4) = D15 ∨ pcf(tid4) = D23 ∨ pcf(tid4) = D24 ∨ pcf(tid4) = D34 → optval6 = vrvHp[vretRefs(tid4)], pcf(tid4) = D22 → optval6 = optval8, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid4) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦
Used simplifier rules: ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s)
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid3), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)) = invDeq, alsf(tid3) = mkls(tid3, obsEmpty1, val3, optval4, val4, optval5), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), alsf(tid4) = mkls(tid4, obsEmpty2, val5, optval6, val6, optval7), apcf(tid3) = invDeq, dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid3) = mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid3, addr0), lsf(tid4) = mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), owns(vhead5) = None, pcf(tid4) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid3)) = Claimed(tid3, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid3, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, tid0 ≠ tid4, tid3 ≠ tid4, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid3, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid3)), DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, pcf(tid3) = D15 ∨ pcf(tid3) = D23 ∨ pcf(tid3) = D24 ∨ pcf(tid3) = D6 ∧ obsEmpty ∨ pcf(tid3) = D34 → optval4 = vrvHp[vretRefs(tid3)], pcf(tid3) = D22 → optval4 = optval, pcf(tid3) = E1 ∨ pcf(tid3) = E2 ∨ pcf(tid3) = E3 ∨ pcf(tid3) = E4 ∧ ¬ obsEmpty ∨ pcf(tid3) = E5 ∨ pcf(tid3) = E6 ∨ pcf(tid3) = E7 ∨ pcf(tid3) = E8 ∨ pcf(tid3) = E9 ∨ pcf(tid3) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid3) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid3) = E13 ∨ pcf(tid3) = E14 ∨ pcf(tid3) = E15 ∨ pcf(tid3) = E16 → val = val3, pcf(tid3) = D20 ∧ obsEmpty ∨ pcf(tid3) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ a ' + x ≠ []; (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) .qrl = qrl; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ Some(tid) = Some(tid0) ↔ tid = tid0; (s) Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid4, val7, optval8, phead0, nd1, obsEmpty3, phead1, vs[vhead5].next, rvref0, optval9, phead3, tid6, addr1), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), pcf(tid) = D20 ∧ obsEmpty ∨ pcf(tid) = D21, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), obsEmpty, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), obsEmpty, owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D20, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20, alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D20, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20, alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
Used simplifier rules: ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D7 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D19 ≠ D20; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid, val, optval, vhead, nd, true, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D20
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].deqID = vs[vhead5].deqID, ps[vs[vhead5].next].deqID = None, ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), owns(vhead5) = None, pcf(tid0) = D28, pcf(tid) = D21, pretRefs(tid0) = vretRefs(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid)), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, ps), markedp(qrl0, vs), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, ps), unmarkedp(qrl1, vs), vhead3 ∈ ps, vhead3 ∈ vs, phead ∈ ps, phead ∈ vs, addr0 ∈ vrvHp, vretRefs(tid0) ∈ vrvHp, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vhead5 ∈ vs, vhead5 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), phead ∈ qrl0 ∨ phead = vhead5, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21, alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| ps[vs[vhead5].next].deqID = None, ps[vhead5].deqID = vs[vhead5].deqID, vs[vs[vhead5].next].deqID = Some(tid), ps[vhead5].next = vs[vhead5].next, ps[vhead5].val = vs[vhead5].val, abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21) = apcf(tid), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval3), dom vrvHp = dom prvHp, invDeq = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), lsf(tid0) = mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0), owns(vhead5) = None, pcf(tid) = D21, pcf(tid0) = D28, pretRefs(tid0) = vretRefs(tid0), rvowns(vretRefs(tid)) = Claimed(tid, vs[vs[vhead5].next].val), rvowns(vretRefs(tid0)) = Pending(tid0), rvowns(addr0) = Claimed(tid, vs[vs[vhead5].next].val), vs[vhead5].next ≠ null, addr0 ≠ null, apcf(tid) ≠ invDeq, vhead5 ≠ vs[vhead5].next, vhead5 ≠ null, vhead5 ≠ vhead3, vretRefs(tid0) ≠ null, DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21), absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls(tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21, alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, ps, owns), listp(vs[vhead5].next ' + qrl1, vs, ps, owns), markedp(qrl0, vs), markedp(qrl0, ps), nextnottid(tid0, vhead5, vs), noid(tid0, qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vhead5, vs), nonullRetRefs(qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1, vs, vretRefs, pretRefs), noowns(tid0, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead5].deqID), unmarkedp(qrl1, vs), unmarkedp(qrl1, ps), vhead5 ∈ ps, vhead5 ∈ vs, vhead0 ∈ qrl0 + vhead5 ' + vs[vhead5].next ' + qrl1 from vhead3, vretRefs(tid0) ∈ vrvHp, addr0 ∈ vrvHp, phead ∈ vs, phead ∈ ps, vhead3 ∈ vs, vhead3 ∈ ps, ¬ dups(qrl1), ¬ dups(qrl0), ¬ dups(qrl0 + qrl1), ¬ weak?(vs[vhead5].deqID), ¬ vhead5 ∈ qrl1, ¬ vs[vhead5].next ∈ qrl1, ¬ vs[vhead5].next ∈ qrl0, ¬ vhead5 ∈ qrl0, ∀ tid2. absls (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2), alsf(tid2)) ∧ abspc (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)) = apcf(tid2), ∀ tid2. lsf(tid2).tid = tid2 ∧ DMSQLInv (mkgs(ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), lsf(tid2), pcf(tid2)), vhead3 = vs[vhead5].next ∨ vhead3 ∈ qrl1, vhead0 = (vs[vhead5].next ' + qrl1).last ∨ vhead0 = (vhead5 ' + (vs[vhead5].next ' + qrl1).butlast).last ∧ vs[(vs[vhead5].next ' + qrl1).last].deqID = None ∧ vs[(vs[vhead5].next ' + qrl1).last].next = null, phead ∈ qrl0 ∨ phead = vhead5 ⊦ pre(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vs[vhead5].next, ps[vs[vhead5].next].deqID:= Some(tid)], vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl1, qrl0 + vhead5 ' + vs[vhead5].next ', owns, rvowns), lsf (tid0; mkls(tid0, val0, Val(vs[vs[vhead5].next].val), vhead2, nd0, false, vhead3, vs[vhead5].next, vretRefs(tid0), optval2, vhead5, tid, addr0)), pcf(tid0; D29)), mkstate (gstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[vs[vhead5].next].val ' + content(qrl1, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
Used simplifier rules: ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D7 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) Used terms: mkgs (ps, vs, phead, vhead5, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead5].next ' + qrl1, qrl0 + vhead5 ', owns, rvowns), mkls (tid, val, optval, vhead, nd, obsEmpty, vhead1, vs[vhead5].next, rvref, optval0, vhead5, tid1, addr), D21
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), gs0 = mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf0 = lsf, pcf0 = pcf, vtail0 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail0 ∈ vs, vtail0 ∈ ps, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), vtail0 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail0 ∈ ps, vtail0 ∈ vs, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
| doDeq(tid) = (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ doEnq(owns(vs[(orl + qrl).last].next).tid);τ), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), vtail0 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail0 ∈ ps, vtail0 ∈ vs, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail0, ps[vtail0].next:= vs[vtail0].next], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ qrl + vs[(orl + qrl).last].next ';qrl), orl, (vtail0 = (orl + qrl).last ∧ vs[(orl + qrl).last].next ≠ null ⊃ owns(vs[(orl + qrl).last].next; None);owns), rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
Used simplifier rules: ⊦ doDeq(tid) ≠ τ; (s) ⊦ doDeq(tid) ≠ doEnq(tid0); (s)
| doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), gs0 = mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), lsf0 = lsf, pcf0 = pcf, vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ vs, vtail1 ∈ ps, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate(gs0, lsf0, pcf0), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ ps, vtail1 ∈ vs, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
| doDeq(tid) = (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ doDeq(vs[qrl.head].deqID.tid);τ), lsf(vs[qrl.head].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, qrl.head, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ ps, vtail1 ∈ vs, pcf(vs[qrl.head].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[qrl.head].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ qrl.tail;qrl), (qrl ≠ [] ∧ vtail1 = qrl.head ∧ vs[qrl.head].deqID ≠ None ⊃ orl + qrl.head ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
doDeq(tid) = (qrl ≠ [] ∧ vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), qrl = phead0 + orl0, qrl ≠ [], vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ vs, vtail1 ∈ ps, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;qrl), (qrl ≠ [] ∧ vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ doDeq(tid) ≠ τ; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl, phead0, y
| doDeq(tid) = (qrl ≠ [] ∧ vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), qrl = phead0 + orl0, qrl ≠ [], vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), abs(mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ vs, vtail1 ∈ ps, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (qrl ≠ [] ∧ vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;qrl), (qrl ≠ [] ∧ vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf), abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ ps, vtail1 ∈ vs, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ' + x ≠ []; (s) ⊦ a + x = a ' + x; (s)
| doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf), abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ ps, vtail1 ∈ vs, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid)))
doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf
| ⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid))) |
| doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), abs (mkstate(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf, pcf), mkstate(mkgs(q), alsf, apcf)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid))
doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), q = content (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: alsf, lsf, q, apcf, pcf, mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)
| ⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid)) |
| doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), q = content (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(q), alsf(tid), apcf(tid), DoDeq(tid))))) |
doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a + x = a ' + x; (s) ⊦ content(r ' + rl, ps) = ps[r].val + content(rl, ps); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s)
| doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
lsf(vs[phead0].deqID.tid).tid = vs[phead0].deqID.tid, doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(vs[phead0].deqID.tid), pcf(vs[phead0].deqID.tid)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: vs[phead0].deqID.tid
| lsf(vs[phead0].deqID.tid).tid = vs[phead0].deqID.tid, doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(tid0, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(vs[phead0].deqID.tid), pcf(vs[phead0].deqID.tid)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(vs[phead0].deqID.tid), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(vs[phead0].deqID.tid), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used terms: vs[phead0].deqID.tid
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(vs[phead0].deqID.tid), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(vs[phead0].deqID.tid), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), doDeq(tid) = (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ doDeq(vs[phead0].deqID.tid);τ), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), vtail1 ∈ vs, vtail1 ∈ ps, ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), doDeq(tid) = doDeq(vs[phead0].deqID.tid), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 = phead0, vs[phead0].deqID ≠ None, vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)))))
Used simplifier rules: ⊦ doDeq(tid) ≠ τ; (s)
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), doDeq(tid) = doDeq(vs[phead0].deqID.tid), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vtail1 = phead0, vs[phead0].deqID ≠ None, vtail1 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), vtail1 ∈ ps, vtail1 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)) ∧ abs (mkstate (mkgs (ps[vtail1, ps[vtail1].deqID:= vs[vtail1].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl0;phead0 ' + orl0), (vtail1 = phead0 ∧ vs[phead0].deqID ≠ None ⊃ orl + phead0 ';orl), owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid)), alsf(tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))), apcf(tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(tid), apcf(tid), DoDeq(tid))))) |
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, phead0 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), phead0 ∈ ps, phead0 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) )))
Used simplifier rules: ⊦ doDeq(tid) = doDeq(tid0) ↔ tid = tid0; (s)
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, phead0 ≠ null, DMSQGInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), phead0 ∈ ps, phead0 ∈ vs, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
⊦ DMSQGInv(gs) ↔ 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)
abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), phead0 ∈ vs, phead0 ∈ ps, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ).last ] .next = null ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) )))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns)
| ⊦ DMSQGInv(gs) ↔ 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) |
| abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp = dom mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp), allocrv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp), listp ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), markedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), nonullRetRefs ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns), rvownerok (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns), unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), phead0 ∈ vs, phead0 ∈ ps, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).phead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl, ¬ dups ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .deqID ≠ None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .deqID .tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ] .next ] .val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] → unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.tail, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs)) ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.butlast ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.butlast.last = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).phead ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl.last ∧ unmarkedp (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ).last ∨ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.butlast ).last ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.last ] .deqID = None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ).last ] .next = null ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.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 ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (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) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .phead = phead; (s) ⊦ (a ' + x).tail = x; (s) ⊦ a ' + x ≠ []; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp = vrvHp0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (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) .ps = ps; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) )))
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, apcf(vs[phead0].deqID.tid) ≠ invDeq, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) )))
Used formulas: apcf(vs[phead0].deqID.tid) = invDeq
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ vs[phead0].deqID.tid = alsf(vs[phead0].deqID.tid).tid ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid)), alsf(vs[phead0].deqID.tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid))), apcf(vs[phead0].deqID.tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid)))))
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ' + x ≠ []; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ DoDeq(tid) = DoDeq(tid0) ↔ tid = tid0; (s) ⊦ DoDeq(tid) ≠ DoDeqEmpty(tid0); (s) ⊦ CheckEmp(tid) ≠ DoDeq(tid0); (s) ⊦ pre(gs, ls, invDeq, a) ↔ a = CheckEmp(ls.tid) ∧ gs.queue = [] ∨ a = DoDeqEmpty(ls.tid) ∧ ls.obsEmpty ∨ a = DoDeq(ls.tid) ∧ gs.queue ≠ []; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ vs[phead0].deqID.tid = alsf(vs[phead0].deqID.tid).tid ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid)), alsf(vs[phead0].deqID.tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid))), apcf(vs[phead0].deqID.tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid))))) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ vs[phead0].deqID.tid = tid0 ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid)), alsf(vs[phead0].deqID.tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid))), apcf(vs[phead0].deqID.tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid)))))
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(vs[phead0].deqID.tid), oval, tid0, optval1
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ vs[phead0].deqID.tid = tid0 ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid)), alsf(vs[phead0].deqID.tid; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid))), apcf(vs[phead0].deqID.tid; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), invDeq, DoDeq(vs[phead0].deqID.tid))))) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(tid0, obsEmpty0, val0, optval1, val1, optval2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ vs[phead0].deqID.tid = tid0 ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (mkgs(content(orl0, ps)), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)), apcf(vs[phead0].deqID.tid; resDeq)))
Used simplifier rules: ⊦ pcstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = resDeq; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ (a ' + x).head = a; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ lstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = mkls(tid, obsEmpty, ival, Val(gs.queue.head), value, optval); (s) ⊦ mkgs(queue).queue:= queue0 = mkgs(queue0); (s) ⊦ (a ' + x).tail = x; (s) ⊦ gstepf (gs, mkls(tid, obsEmpty, ival, oval, value, optval), invDeq, DoDeq(tid)) = gs.queue:= gs.queue.tail; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(tid0, obsEmpty0, val0, optval1, val1, optval2)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ vs[phead0].deqID.tid = tid0 ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (mkgs(content(orl0, ps)), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)), apcf(vs[phead0].deqID.tid; resDeq))) |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[phead0].deqID = None, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).ival, ( pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).obsEmpty, pcf(vs[phead0].deqID.tid) = D20 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D22 → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).oval = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D34 → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ vs[phead0].deqID.tid = tid0 ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (mkgs(content(orl0, ps)), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)), apcf(vs[phead0].deqID.tid; resDeq)))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(tid0, obsEmpty0, val0, optval1, val1, optval2)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[phead0].deqID = None, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).ival, ( pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).obsEmpty, pcf(vs[phead0].deqID.tid) = D20 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D22 → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).oval = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D34 → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ], ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ vs[phead0].deqID.tid = tid0 ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (mkgs(content(orl0, ps)), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)), apcf(vs[phead0].deqID.tid; resDeq))) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (mkgs(content(orl0, ps)), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)), apcf(vs[phead0].deqID.tid; resDeq))), ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (mkgs(content(orl0, ps)), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)), apcf(vs[phead0].deqID.tid; resDeq))), ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid))
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, content(orl0, ps) ≠ content (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .qrl, mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2))(tid)) ∧ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(vs[phead0].deqID.tid; resDeq)(tid))) ⊦
Used terms: alsf (vs[phead0].deqID.tid ; mkls (vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2) ), lsf, content(orl0, ps), apcf(vs[phead0].deqID.tid; resDeq), pcf, mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns)
| ⊦ abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ↔ q = content(gs.qrl, gs.ps) ∧ (∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid)) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, content(orl0, ps) ≠ content (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .qrl, mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps) ∨ (∃ tid. ¬ ( absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(vs[phead0].deqID.tid; mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2))(tid)) ∧ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(vs[phead0].deqID.tid; resDeq)(tid))) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), (vs[phead0].deqID.tid = tid ⊃ mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2);alsf(tid))) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (vs[phead0].deqID.tid = tid ⊃ resDeq;apcf(tid)) ⊦
Used simplifier rules: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), (vs[phead0].deqID.tid = tid ⊃ mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2);alsf(tid))) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (vs[phead0].deqID.tid = tid ⊃ resDeq;apcf(tid)) ⊦ |
ps[phead0].deqID = None, vs[phead0].deqID.tid = tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), (vs[phead0].deqID.tid = tid ⊃ mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2);alsf(tid))) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (vs[phead0].deqID.tid = tid ⊃ resDeq;apcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), (vs[phead0].deqID.tid = tid ⊃ mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2);alsf(tid))) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (vs[phead0].deqID.tid = tid ⊃ resDeq;apcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used formulas: vs[phead0].deqID.tid = tid
| ps[phead0].deqID = None, vs[phead0].deqID.tid = tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), (vs[phead0].deqID.tid = tid ⊃ mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2);alsf(tid))) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (vs[phead0].deqID.tid = tid ⊃ resDeq;apcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) ≠ resDeq ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) ≠ resDeq ⊦ |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)) ∨ (pcf(vs[phead0].deqID.tid) = idle ⊃ idle ;(pcf(vs[phead0].deqID.tid) = ready ⊃ ready ;(pcf(vs[phead0].deqID.tid) = crashed ⊃ crashed ;( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ⊃ invEnq ;( pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E17 ⊃ resEnq ;( pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None) ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resDeq, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used terms: mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls (vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)) ∨ (pcf(vs[phead0].deqID.tid) = idle ⊃ idle ;(pcf(vs[phead0].deqID.tid) = ready ⊃ ready ;(pcf(vs[phead0].deqID.tid) = crashed ⊃ crashed ;( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ⊃ invEnq ;( pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E17 ⊃ resEnq ;( pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None) ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ resDeq, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊦
Used simplifier rules: ⊦ invDeq ≠ resDeq; (s) ⊦ resDeq ≠ resEnq; (s) ⊦ invEnq ≠ resDeq; (s) ⊦ crashed ≠ resDeq; (s) ⊦ ready ≠ resDeq; (s) ⊦ idle ≠ resDeq; (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).tid ∧ ( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).ival) ∧ ( ( pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null → mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).obsEmpty) ∧ ( pcf(vs[phead0].deqID.tid) = D20 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D22 → mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).oval = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval) ∧ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D34 → mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).oval = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vrvHp [mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ])) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used terms: mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), mkls (vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).tid ∧ ( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).ival) ∧ ( ( pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null → mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).obsEmpty) ∧ ( pcf(vs[phead0].deqID.tid) = D20 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(vs[phead0].deqID.tid) = D22 → mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).oval = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval) ∧ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D34 → mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2).oval = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vrvHp [mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ])) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬(pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D22 → Val(ps[phead0].val) = optval) ∨ ¬ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → Val(ps[phead0].val) = vrvHp[vretRefs(vs[phead0].deqID.tid)]) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬(pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D22 → Val(ps[phead0].val) = optval) ∨ ¬ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → Val(ps[phead0].val) = vrvHp[vretRefs(vs[phead0].deqID.tid)]) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), obsEmpty, pcf(vs[phead0].deqID.tid) = D20, vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬(pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D22 → Val(ps[phead0].val) = optval) ∨ ¬ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → Val(ps[phead0].val) = vrvHp[vretRefs(vs[phead0].deqID.tid)]) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D21, vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬(pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D22 → Val(ps[phead0].val) = optval) ∨ ¬ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → Val(ps[phead0].val) = vrvHp[vretRefs(vs[phead0].deqID.tid)]) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), obsEmpty, pcf(vs[phead0].deqID.tid) = D20, vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬(pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D22 → Val(ps[phead0].val) = optval) ∨ ¬ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → Val(ps[phead0].val) = vrvHp[vretRefs(vs[phead0].deqID.tid)]) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D20, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D7 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D20, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D20, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D20 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = D6 → ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ∨ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D20 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D20 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D20 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D20 = D12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next), D20 = D13 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D20 = D14 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D20 = D15 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = D17 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = D18 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D20 = D19 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D20 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success) ∧ (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ), D20 = D21 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first), D20 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D20 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D20 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D20 = D25 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D20 = D26 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D20 = D27 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D20 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D20 = D29 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D20 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D20 = D31 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D20 = D34 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail), D20 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D20 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D20 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D20 = E10 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D20 = E11 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D20 = E12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 ∨ D20 = E1 ∨ D20 = E12 ∨ D20 = E17 → noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), D20 = E10 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), D20 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ), D20 = E4 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D20) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D20, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D20 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = D6 → ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ∨ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D20 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D20 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D20 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D20 = D12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next), D20 = D13 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D20 = D14 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D20 = D15 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = D17 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = D18 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D20 = D19 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D20 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success) ∧ (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ), D20 = D21 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first), D20 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D20 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D20 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D20 = D25 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D20 = D26 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D20 = D27 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D20 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D20 = D29 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D20 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D20 = D31 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D20 = D34 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail), D20 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D20 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D20 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D20 = E10 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D20 = E11 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D20 = E12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D20 = crashed ∨ D20 = idle ∨ D20 = ready ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 ∨ D20 = E1 ∨ D20 = E12 ∨ D20 = E17 → noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), D20 = E10 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), D20 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ), D20 = E4 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, true, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(vs[ps[orl.last].next].deqID.tid), ps[ps[orl.last].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), D20) = invDeq, alsf(vs[ps[orl.last].next].deqID.tid) = mkls(vs[ps[orl.last].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[orl.last].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[orl.last].next].deqID.tid) = mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), pcf(vs[ps[orl.last].next].deqID.tid) = D20, pretRefs(vs[ps[orl.last].next].deqID.tid) = vretRefs(vs[ps[orl.last].next].deqID.tid), rvowns(vretRefs(vs[ps[orl.last].next].deqID.tid)) = Claimed(vs[ps[orl.last].next].deqID.tid, vs[ps[orl.last].next].val), vs[ps[orl.last].next].deqID ≠ None, orl.last ≠ vhead1, ps[orl.last].next ≠ null, ps[ps[orl.last].next].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(vs[ps[orl.last].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + ps[orl.last].next ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(vs[ps[orl.last].next].deqID.tid, orl + ps[orl.last].next ' + orl0, ps[orl.last].next, vs), nonullRetRefs(orl + ps[orl.last].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[orl.last].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ orl + ps[orl.last].next ' + orl0 from vhead1, vhead1 ∈ orl + ps[orl.last].next ' + orl0 from orl.last, vretRefs(vs[ps[orl.last].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[orl.last].next ∈ vs, ps[orl.last].next ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[orl.last].next ∈ orl0, ¬ ps[orl.last].next ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (ps[orl.last].next ' + orl0).last ∨ vhead0 = (orl + (ps[orl.last].next ' + orl0).butlast).last ∧ vs[(ps[orl.last].next ' + orl0).last].deqID = None ∧ vs[(ps[orl.last].next ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ Val(val) = Val(val0) ↔ val = val0; (s) ⊦ D3 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D19 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ 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) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ (a ' + x).head = a; (s) ⊦ a ' + x ≠ []; (s) ⊦ D20 ≠ D21; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ D32; (s) ⊦ D7 ≠ D20; (s) ⊦ a ∈ b ' ↔ a = b; (s) rl ≠ [] ⊦ ¬ dups(rl) → rl from rl.last = rl.last '; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[orl.last].next].deqID = Some(vs[ps[orl.last].next].deqID.tid), ps[ps[orl.last].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), D20) = invDeq, alsf(vs[ps[orl.last].next].deqID.tid) = mkls(vs[ps[orl.last].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[orl.last].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[orl.last].next].deqID.tid) = mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), pcf(vs[ps[orl.last].next].deqID.tid) = D20, pretRefs(vs[ps[orl.last].next].deqID.tid) = vretRefs(vs[ps[orl.last].next].deqID.tid), rvowns(vretRefs(vs[ps[orl.last].next].deqID.tid)) = Claimed(vs[ps[orl.last].next].deqID.tid, vs[ps[orl.last].next].val), vs[ps[orl.last].next].deqID ≠ None, orl.last ≠ vhead1, ps[orl.last].next ≠ null, ps[ps[orl.last].next].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(vs[ps[orl.last].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + ps[orl.last].next ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(vs[ps[orl.last].next].deqID.tid, orl + ps[orl.last].next ' + orl0, ps[orl.last].next, vs), nonullRetRefs(orl + ps[orl.last].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[orl.last].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ orl + ps[orl.last].next ' + orl0 from vhead1, vhead1 ∈ orl + ps[orl.last].next ' + orl0 from orl.last, vretRefs(vs[ps[orl.last].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[orl.last].next ∈ vs, ps[orl.last].next ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[orl.last].next ∈ orl0, ¬ ps[orl.last].next ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (ps[orl.last].next ' + orl0).last ∨ vhead0 = (orl + (ps[orl.last].next ' + orl0).butlast).last ∧ vs[(ps[orl.last].next ' + orl0).last].deqID = None ∧ vs[(ps[orl.last].next ' + orl0).last].next = null ⊦ |
ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), orl = orl1 + vhead2 ', pcf(vs[ps[vhead2].next].deqID.tid) = D20, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, orl ≠ [], vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(vs[ps[vhead2].next].deqID.tid, orl + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs(orl + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead1 ∈ orl + ps[vhead2].next ' + orl0 from vhead2, vhead0 ∈ orl + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (orl + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦
Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, vhead2, y
| ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), orl = orl1 + vhead2 ', pcf(vs[ps[vhead2].next].deqID.tid) = D20, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, orl ≠ [], vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(vs[ps[vhead2].next].deqID.tid, orl + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs(orl + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead1 ∈ orl + ps[vhead2].next ' + orl0 from vhead2, vhead0 ∈ orl + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (orl + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦ |
vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), ps[ps[vhead2].next].deqID = None, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D20, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, ps), markedp(orl1, vs), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead2].deqID), some?(vs[vhead2].deqID), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[vhead2].next ∈ vs, ps[vhead2].next ∈ ps, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ orl1 ∨ phead = vhead2, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦
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] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)
| vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), ps[ps[vhead2].next].deqID = None, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D20, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, ps), markedp(orl1, vs), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead2].deqID), some?(vs[vhead2].deqID), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[vhead2].next ∈ vs, ps[vhead2].next ∈ ps, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ orl1 ∨ phead = vhead2, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦ |
⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ [])
ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D20, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), some?(ps[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), listp(orl1 + vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) → (listp(vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) ↔ vhead2 ' + ps[vhead2].next ' + orl0 ≠ []), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦
Used terms: ps, orl1, owns, vhead2 ' + ps[vhead2].next ' + orl0, vs
| ⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ []) |
| ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D20, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), some?(ps[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), listp(orl1 + vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) → (listp(vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) ↔ vhead2 ' + ps[vhead2].next ' + orl0 ≠ []), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦ |
ps[vhead2].deqID = vs[vhead2].deqID, ps[vs[vhead2].next].deqID = None, vs[vs[vhead2].next].deqID = Some(vs[vs[vhead2].next].deqID.tid), ps[vhead2].next = vs[vhead2].next, ps[vhead2].val = vs[vhead2].val, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[vs[vhead2].next].deqID.tid) = mkls(vs[vs[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[vs[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[vs[vhead2].next].deqID.tid) = mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), owns(vhead2) = None, pcf(vs[vs[vhead2].next].deqID.tid) = D20, pretRefs(vs[vs[vhead2].next].deqID.tid) = vretRefs(vs[vs[vhead2].next].deqID.tid), rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), vs[vs[vhead2].next].deqID ≠ None, vs[vhead2].next ≠ vhead2, vs[vhead2].next ≠ null, ps[vs[vhead2].next].val ≠ vs[vs[vhead2].next].val, vhead2 ≠ null, vhead2 ≠ vhead1, vretRefs(vs[vs[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vs[vhead2].next ' + orl0, vs, ps, owns), listp((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[vs[vhead2].next].deqID.tid, (orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[vs[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), vhead2 ∈ ps, vhead2 ∈ vs, vs[vhead2].next ∈ ps, vs[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[vs[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + vs[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl1), ¬ dups(orl1 + orl0), ¬ weak?(vs[vhead2].deqID), ¬ vs[vhead2].next ∈ orl1, ¬ vs[vhead2].next ∈ orl0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ orl1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (vs[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (vs[vhead2].next ' + orl0).butlast).last ∧ vs[(vs[vhead2].next ' + orl0).last].deqID = None ∧ vs[(vs[vhead2].next ' + orl0).last].next = null, vhead1 = vs[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ a ' + x ≠ []; (s)
| ps[vhead2].deqID = vs[vhead2].deqID, ps[vs[vhead2].next].deqID = None, vs[vs[vhead2].next].deqID = Some(vs[vs[vhead2].next].deqID.tid), ps[vhead2].next = vs[vhead2].next, ps[vhead2].val = vs[vhead2].val, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D20) = invDeq, alsf(vs[vs[vhead2].next].deqID.tid) = mkls(vs[vs[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[vs[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[vs[vhead2].next].deqID.tid) = mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), owns(vhead2) = None, pcf(vs[vs[vhead2].next].deqID.tid) = D20, pretRefs(vs[vs[vhead2].next].deqID.tid) = vretRefs(vs[vs[vhead2].next].deqID.tid), rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), vs[vs[vhead2].next].deqID ≠ None, vs[vhead2].next ≠ vhead2, vs[vhead2].next ≠ null, ps[vs[vhead2].next].val ≠ vs[vs[vhead2].next].val, vhead2 ≠ null, vhead2 ≠ vhead1, vretRefs(vs[vs[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vs[vhead2].next ' + orl0, vs, ps, owns), listp((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[vs[vhead2].next].deqID.tid, (orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[vs[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), vhead2 ∈ ps, vhead2 ∈ vs, vs[vhead2].next ∈ ps, vs[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[vs[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + vs[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl1), ¬ dups(orl1 + orl0), ¬ weak?(vs[vhead2].deqID), ¬ vs[vhead2].next ∈ orl1, ¬ vs[vhead2].next ∈ orl0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ orl1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (vs[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (vs[vhead2].next ' + orl0).butlast).last ∧ vs[(vs[vhead2].next ' + orl0).last].deqID = None ∧ vs[(vs[vhead2].next ' + orl0).last].next = null, vhead1 = vs[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦ |
Used simplifier rules: reflist freely generated by [], +;; ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ unmarkedp([], vs); (s) ⊦ x + [] = x; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D21, vs[phead0].deqID ≠ None, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬(pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D22 → Val(ps[phead0].val) = optval) ∨ ¬ ( pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → Val(ps[phead0].val) = vrvHp[vretRefs(vs[phead0].deqID.tid)]) ∨ pcf(vs[phead0].deqID.tid) = idle ∨ pcf(vs[phead0].deqID.tid) = ready ∨ pcf(vs[phead0].deqID.tid) = crashed ∨ pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ∨ pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ∨ pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D21, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D7 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D21, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D21, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D21 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = D6 → ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ∨ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D21 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D21 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D21 = D12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next), D21 = D13 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D21 = D14 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D21 = D15 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = D17 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = D18 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D21 = D19 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D21 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success) ∧ (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ), D21 = D21 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first), D21 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D21 = D25 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D21 = D26 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D21 = D27 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D21 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D21 = D29 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D21 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D21 = D31 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D21 = D34 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D21 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D21 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D21 = E10 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D21 = E11 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D21 = E12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), D21 = E10 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ), D21 = E4 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), D21) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid) = D21, vs[phead0].deqID ≠ None, Val(ps[phead0].val) ≠ optval, orl ≠ [], phead0 ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), D21 = D3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = D6 → ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ]) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ∨ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D21 = D9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D21 = D10 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D21 = D11 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next) ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next), D21 = D12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next), D21 = D13 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D21 = D14 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null, D21 = D15 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = D17 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = D18 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D21 = D19 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D21 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success) ∧ (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ; mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ), D21 = D21 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first) ∧ noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ≠ [] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl.head ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first), D21 = D22 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D21 = D23 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ], D21 = D25 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ⊕ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs )[mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID .tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D21 = D26 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D21 = D27 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val)), D21 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D21 = D29 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D21 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).othertid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val), D21 = D31 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ] .next, D21 = D34 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).prvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ] ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Empty ⊃ Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ;Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E3 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E5 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E6 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail), D21 = E7 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D21 = E8 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next) ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D21 = E9 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst), D21 = E10 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D21 = E11 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] .val = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Weak(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∨ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node), D21 = E12 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E14 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node) = Some(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null) ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mk(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ] = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Pending(mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl from mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).pretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid) ≠ null ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).rvowns (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid)) = Claimed (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval.val) ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ∈ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).addr ≠ null ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).optval = Val (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead ≠ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first → nextnottid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vhead, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).first, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).orl + mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).qrl, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs), D21 = crashed ∨ D21 = idle ∨ D21 = ready ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 ∨ D21 = E1 ∨ D21 = E12 ∨ D21 = E17 → noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps), D21 = E10 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), D21 = E11 → ( mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ≠ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ;noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ), D21 = E4 → (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ⊃ noowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns) ;oneowns (mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).tid, mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).node, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).owns, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vs, mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps) ), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
vs[ps[orl.last].next].deqID = Some(vs[ps[orl.last].next].deqID.tid), ps[ps[orl.last].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), D21) = invDeq, alsf(vs[ps[orl.last].next].deqID.tid) = mkls(vs[ps[orl.last].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[orl.last].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[orl.last].next].deqID.tid) = mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), pcf(vs[ps[orl.last].next].deqID.tid) = D21, pretRefs(vs[ps[orl.last].next].deqID.tid) = vretRefs(vs[ps[orl.last].next].deqID.tid), rvowns(vretRefs(vs[ps[orl.last].next].deqID.tid)) = Claimed(vs[ps[orl.last].next].deqID.tid, vs[ps[orl.last].next].val), vs[ps[orl.last].next].deqID ≠ None, orl.last ≠ vhead1, ps[orl.last].next ≠ null, ps[ps[orl.last].next].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(vs[ps[orl.last].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + ps[orl.last].next ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(vs[ps[orl.last].next].deqID.tid, orl + ps[orl.last].next ' + orl0, ps[orl.last].next, vs), nonullRetRefs(orl + ps[orl.last].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[orl.last].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ orl + ps[orl.last].next ' + orl0 from vhead1, vhead1 ∈ orl + ps[orl.last].next ' + orl0 from orl.last, vretRefs(vs[ps[orl.last].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[orl.last].next ∈ vs, ps[orl.last].next ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[orl.last].next ∈ orl0, ¬ ps[orl.last].next ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (ps[orl.last].next ' + orl0).last ∨ vhead0 = (orl + (ps[orl.last].next ' + orl0).butlast).last ∧ vs[(ps[orl.last].next ' + orl0).last].deqID = None ∧ vs[(ps[orl.last].next ' + orl0).last].next = null ⊦
Used simplifier rules: ⊦ Val(val) = Val(val0) ↔ val = val0; (s) ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (a ' + x).head = a; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ a ' + x ≠ []; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)
| vs[ps[orl.last].next].deqID = Some(vs[ps[orl.last].next].deqID.tid), ps[ps[orl.last].next].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), D21) = invDeq, alsf(vs[ps[orl.last].next].deqID.tid) = mkls(vs[ps[orl.last].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[orl.last].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[orl.last].next].deqID.tid) = mkls (vs[ps[orl.last].next].deqID.tid, val, Val(vs[ps[orl.last].next].val), vhead, nd, true, vhead1, ps[orl.last].next, vretRefs(vs[ps[orl.last].next].deqID.tid), optval0, orl.last, tid1, addr), pcf(vs[ps[orl.last].next].deqID.tid) = D21, pretRefs(vs[ps[orl.last].next].deqID.tid) = vretRefs(vs[ps[orl.last].next].deqID.tid), rvowns(vretRefs(vs[ps[orl.last].next].deqID.tid)) = Claimed(vs[ps[orl.last].next].deqID.tid, vs[ps[orl.last].next].val), vs[ps[orl.last].next].deqID ≠ None, orl.last ≠ vhead1, ps[orl.last].next ≠ null, ps[ps[orl.last].next].val ≠ vs[ps[orl.last].next].val, orl ≠ [], vretRefs(vs[ps[orl.last].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + ps[orl.last].next ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), noid(vs[ps[orl.last].next].deqID.tid, orl + ps[orl.last].next ' + orl0, ps[orl.last].next, vs), nonullRetRefs(orl + ps[orl.last].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[orl.last].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ orl + ps[orl.last].next ' + orl0 from vhead1, vhead1 ∈ orl + ps[orl.last].next ' + orl0 from orl.last, vretRefs(vs[ps[orl.last].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[orl.last].next ∈ vs, ps[orl.last].next ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[orl.last].next ∈ orl0, ¬ ps[orl.last].next ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[orl.last].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (ps[orl.last].next ' + orl0).last ∨ vhead0 = (orl + (ps[orl.last].next ' + orl0).butlast).last ∧ vs[(ps[orl.last].next ' + orl0).last].deqID = None ∧ vs[(ps[orl.last].next ' + orl0).last].next = null ⊦ |
ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), orl = orl1 + vhead2 ', pcf(vs[ps[vhead2].next].deqID.tid) = D21, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, orl ≠ [], vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(vs[ps[vhead2].next].deqID.tid, orl + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs(orl + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead1 ∈ orl + ps[vhead2].next ' + orl0 from vhead2, vhead0 ∈ orl + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (orl + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦
Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, vhead2, y
| ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), orl = orl1 + vhead2 ', pcf(vs[ps[vhead2].next].deqID.tid) = D21, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, orl ≠ [], vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), noid(vs[ps[vhead2].next].deqID.tid, orl + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs(orl + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead1 ∈ orl + ps[vhead2].next ' + orl0 from vhead2, vhead0 ∈ orl + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (orl + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦ |
vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), ps[ps[vhead2].next].deqID = None, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D21, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, ps), markedp(orl1, vs), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead2].deqID), some?(vs[vhead2].deqID), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[vhead2].next ∈ vs, ps[vhead2].next ∈ ps, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ orl1 ∨ phead = vhead2, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦
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] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)
| vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), ps[ps[vhead2].next].deqID = None, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D21, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, ps), markedp(orl1, vs), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), some?(ps[vhead2].deqID), some?(vs[vhead2].deqID), unmarkedp(orl0, vs), unmarkedp(orl0, ps), vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, phead ∈ ps, phead ∈ vs, ps[vhead2].next ∈ vs, ps[vhead2].next ∈ ps, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), phead ∈ orl1 ∨ phead = vhead2, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null ⊦ |
⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ [])
ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D21, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), some?(ps[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), listp(orl1 + vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) → (listp(vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) ↔ vhead2 ' + ps[vhead2].next ' + orl0 ≠ []), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦
Used terms: ps, orl1, owns, vhead2 ' + ps[vhead2].next ' + orl0, vs
| ⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ []) |
| ps[ps[vhead2].next].deqID = None, vs[ps[vhead2].next].deqID = Some(vs[ps[vhead2].next].deqID.tid), abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[ps[vhead2].next].deqID.tid) = mkls(vs[ps[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[ps[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[ps[vhead2].next].deqID.tid) = mkls (vs[ps[vhead2].next].deqID.tid, val, Val(vs[ps[vhead2].next].val), vhead, nd, true, vhead1, ps[vhead2].next, vretRefs(vs[ps[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), pcf(vs[ps[vhead2].next].deqID.tid) = D21, pretRefs(vs[ps[vhead2].next].deqID.tid) = vretRefs(vs[ps[vhead2].next].deqID.tid), rvowns(vretRefs(vs[ps[vhead2].next].deqID.tid)) = Claimed(vs[ps[vhead2].next].deqID.tid, vs[ps[vhead2].next].val), vs[ps[vhead2].next].deqID ≠ None, ps[vhead2].next ≠ null, ps[vhead2].next ≠ vhead2, ps[ps[vhead2].next].val ≠ vs[ps[vhead2].next].val, vhead2 ≠ vhead1, vretRefs(vs[ps[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[ps[vhead2].next].deqID.tid, (orl1 + vhead2 ') + ps[vhead2].next ' + orl0, ps[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + ps[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[ps[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), some?(ps[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), ps[vhead2].next ∈ ps, ps[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[ps[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + ps[vhead2].next ' + orl0 from vhead1, ¬ dups(orl1 + orl0), ¬ dups(orl1), ¬ dups(orl0), ¬ vhead2 ∈ orl1, ¬ vhead2 ∈ orl0, ¬ ps[vhead2].next ∈ orl0, ¬ ps[vhead2].next ∈ orl1, vs[vhead2].next ≠ null ∧ vs[vs[vhead2].next].deqID ≠ None → rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), listp(orl1 + vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) → (listp(vhead2 ' + ps[vhead2].next ' + orl0, vs, ps, owns) ↔ vhead2 ' + ps[vhead2].next ' + orl0 ≠ []), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, ps[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (ps[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (ps[vhead2].next ' + orl0).butlast).last ∧ vs[(ps[vhead2].next ' + orl0).last].deqID = None ∧ vs[(ps[vhead2].next ' + orl0).last].next = null, vhead1 = ps[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦ |
ps[vhead2].deqID = vs[vhead2].deqID, ps[vs[vhead2].next].deqID = None, vs[vs[vhead2].next].deqID = Some(vs[vs[vhead2].next].deqID.tid), ps[vhead2].next = vs[vhead2].next, ps[vhead2].val = vs[vhead2].val, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[vs[vhead2].next].deqID.tid) = mkls(vs[vs[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[vs[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[vs[vhead2].next].deqID.tid) = mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), owns(vhead2) = None, pcf(vs[vs[vhead2].next].deqID.tid) = D21, pretRefs(vs[vs[vhead2].next].deqID.tid) = vretRefs(vs[vs[vhead2].next].deqID.tid), rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), vs[vs[vhead2].next].deqID ≠ None, vs[vhead2].next ≠ vhead2, vs[vhead2].next ≠ null, ps[vs[vhead2].next].val ≠ vs[vs[vhead2].next].val, vhead2 ≠ null, vhead2 ≠ vhead1, vretRefs(vs[vs[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vs[vhead2].next ' + orl0, vs, ps, owns), listp((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[vs[vhead2].next].deqID.tid, (orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[vs[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), vhead2 ∈ ps, vhead2 ∈ vs, vs[vhead2].next ∈ ps, vs[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[vs[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + vs[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl1), ¬ dups(orl1 + orl0), ¬ weak?(vs[vhead2].deqID), ¬ vs[vhead2].next ∈ orl1, ¬ vs[vhead2].next ∈ orl0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ orl1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (vs[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (vs[vhead2].next ' + orl0).butlast).last ∧ vs[(vs[vhead2].next ' + orl0).last].deqID = None ∧ vs[(vs[vhead2].next ' + orl0).last].next = null, vhead1 = vs[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ a ' + x ≠ []; (s)
| ps[vhead2].deqID = vs[vhead2].deqID, ps[vs[vhead2].next].deqID = None, vs[vs[vhead2].next].deqID = Some(vs[vs[vhead2].next].deqID.tid), ps[vhead2].next = vs[vhead2].next, ps[vhead2].val = vs[vhead2].val, abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), D21) = invDeq, alsf(vs[vs[vhead2].next].deqID.tid) = mkls(vs[vs[vhead2].next].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[vs[vhead2].next].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[vs[vhead2].next].deqID.tid) = mkls (vs[vs[vhead2].next].deqID.tid, val, Val(vs[vs[vhead2].next].val), vhead, nd, true, vhead1, vs[vhead2].next, vretRefs(vs[vs[vhead2].next].deqID.tid), optval0, vhead2, tid1, addr), owns(vhead2) = None, pcf(vs[vs[vhead2].next].deqID.tid) = D21, pretRefs(vs[vs[vhead2].next].deqID.tid) = vretRefs(vs[vs[vhead2].next].deqID.tid), rvowns(vretRefs(vs[vs[vhead2].next].deqID.tid)) = Claimed(vs[vs[vhead2].next].deqID.tid, vs[vs[vhead2].next].val), vs[vs[vhead2].next].deqID ≠ None, vs[vhead2].next ≠ vhead2, vs[vhead2].next ≠ null, ps[vs[vhead2].next].val ≠ vs[vs[vhead2].next].val, vhead2 ≠ null, vhead2 ≠ vhead1, vretRefs(vs[vs[vhead2].next].deqID.tid) ≠ null, allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(vs[vhead2].next ' + orl0, vs, ps, owns), listp((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, ps, owns), markedp(orl1, vs), markedp(orl1, ps), noid(vs[vs[vhead2].next].deqID.tid, (orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs[vhead2].next, vs), nonullRetRefs((orl1 + vhead2 ') + vs[vhead2].next ' + orl0, vs, vretRefs, pretRefs), noowns(vs[vs[vhead2].next].deqID.tid, owns), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), some?(vs[vhead2].deqID), unmarkedp(orl0, ps), unmarkedp(orl0, vs), vhead2 ∈ ps, vhead2 ∈ vs, vs[vhead2].next ∈ ps, vs[vhead2].next ∈ vs, phead ∈ vs, phead ∈ ps, vretRefs(vs[vs[vhead2].next].deqID.tid) ∈ vrvHp, vhead0 ∈ (orl1 + vhead2 ') + vs[vhead2].next ' + orl0 from vhead1, ¬ dups(orl0), ¬ dups(orl1), ¬ dups(orl1 + orl0), ¬ weak?(vs[vhead2].deqID), ¬ vs[vhead2].next ∈ orl1, ¬ vs[vhead2].next ∈ orl0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ orl1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps, vs, phead, vhead2, vhead0, vretRefs, pretRefs, vrvHp, prvHp, vs[vhead2].next ' + orl0, orl1 + vhead2 ', owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), vhead0 = (vs[vhead2].next ' + orl0).last ∨ vhead0 = (vhead2 ' + (vs[vhead2].next ' + orl0).butlast).last ∧ vs[(vs[vhead2].next ' + orl0).last].deqID = None ∧ vs[(vs[vhead2].next ' + orl0).last].next = null, vhead1 = vs[vhead2].next ∨ vhead1 ∈ orl0, phead ∈ orl1 ∨ phead = vhead2 ⊦ |
Used simplifier rules: reflist freely generated by [], +;; ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ unmarkedp([], vs); (s) ⊦ x + [] = x; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), (vs[phead0].deqID.tid = tid ⊃ mkls(vs[phead0].deqID.tid, obsEmpty0, val0, Val(ps[phead0].val), val1, optval2);alsf(tid))) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ (vs[phead0].deqID.tid = tid ⊃ resDeq;apcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used terms: tid
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid)) ≠ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ abspc(gs, ls, pc) = abspc(gs0, ls0, pc) ↔ (pc = E4 ⊃ ls.success ↔ ls0.success ;(pc = E10 ⊃ ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ↔ ls0.success → ls0.lst = gs0.vtail ∧ gs0.ps[ls0.lst].next = null ;(pc = E11 ⊃ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ↔ ls0.lst = gs0.vtail ∧ gs0.ps[ls0.lst].next = null ;(pc = D6 ⊃ ls.success ↔ ls0.success ;(pc = D20 ⊃ ls.success → gs.ps[ls.nxt].deqID = None ↔ ls0.success → gs0.ps[ls0.nxt].deqID = None ;(pc = D21 ⊃ gs.ps[ls.nxt].deqID = None ↔ gs0.ps[ls0.nxt].deqID = None ;true ) ) ) ) ) ); (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ absls (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( lsf(tid).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( lsf(tid).success → lsf(tid).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∧ ((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vrvHp [mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used terms: mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf(tid), pcf(tid), alsf(tid)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ¬ ( lsf(tid).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( lsf(tid).success → lsf(tid).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vtail ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∧ ((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .ps [lsf(tid).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vrvHp [mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns) .vretRefs (lsf(tid).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, lsf(tid).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, lsf(tid).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = lsf(tid).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty1, alsf(tid), oval, tid0, optval3
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), lsf(tid).tid ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, lsf(tid).tid ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, lsf(tid).tid ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ lsf(tid).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null) ∨ pcf(tid) = E11 ∧ lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → lsf(tid).value = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ lsf(tid).nxt = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ lsf(tid).success ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = lsf(tid).optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ lsf(tid).success ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(lsf(tid).tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ lsf(tid).success → lsf(tid).lst = vhead0 ∧ ps[lsf(tid).lst].next = null ;(pcf(tid) = E11 ⊃ lsf(tid).lst = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).lst].next = null ↔ ps[lsf(tid).lst].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ lsf(tid).success → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ lsf(tid).success → ps[lsf(tid).nxt].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][lsf(tid).nxt].deqID = None ↔ ps[lsf(tid).nxt].deqID = None) ) ) )) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead3].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null ↔ ps[vhead3].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
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, optval5, node, nd0, lsf(tid), addr0, tid2, lst, first, rvref0, othertid, success, optval5
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead3].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead3].next = null ↔ ps[vhead3].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦ |
⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)])
ps[phead0].deqID = None, mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).tid = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success → mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).value = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).nxt = null → mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).obsEmpty, pcf(tid) = D20 ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).oval = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid), mkls(tid0, obsEmpty1, val2, optval3, val3, optval4)
| ⊦ absls(gs, ls, pc, als) ↔ ls.tid = als.tid ∧ ( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.value = als.ival) ∧ ((pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14) ∧ ls.nxt = null → als.obsEmpty) ∧ (pc = D20 ∧ ls.success ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID ≠ None ∨ pc = D22 → als.oval = ls.optval) ∧ (pc = D15 ∨ pc = D23 ∨ pc = D24 ∨ pc = D6 ∧ ls.success ∨ pc = D34 → als.oval = gs.vrvHp[gs.vretRefs(ls.tid)]) |
| ps[phead0].deqID = None, mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).tid = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ ( mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success → mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).value = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).nxt = null → mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).obsEmpty, pcf(tid) = D20 ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).oval = mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty1, val2, optval3, val3, optval4).oval = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vrvHp [mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vretRefs (mkls(tid2, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), tid2 ≠ tid0 ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦ |
ps[phead0].deqID = None, lsf(tid).tid = tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦
Used terms: tid
| ps[phead0].deqID = None, lsf(tid).tid = tid, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty2 ∨ pcf(tid) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2, ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid) = E5 ∨ pcf(tid) = E6 ∨ pcf(tid) = E7 ∨ pcf(tid) = E8 ∨ pcf(tid) = E9 ∨ pcf(tid) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val4 = val2) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, pcf(tid0) = E10 ∨ pcf(tid0) = E11 ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used formulas: pcf(tid0) = E10 ∨ pcf(tid0) = E11
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, pcf(tid0) = E10 ∨ pcf(tid0) = E11 ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vhead0 = phead0, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = E10 ∨ pcf(tid0) = E11, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, vhead0 ≠ phead0, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = E10 ∨ pcf(tid0) = E11, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦
Used terms: ps, phead0, ps[phead0].deqID:= vs[phead0].deqID, vhead0
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vhead0 = phead0, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = E10 ∨ pcf(tid0) = E11, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, phead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, phead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, phead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = phead0 ∧ ps[phead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = phead0 ∧ ps[phead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = phead0 ∧ ps[phead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = phead0 ∧ ps[phead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), phead0 = (phead0 ' + orl0).last ∨ phead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, pcf(tid0) = E10 ∨ pcf(tid0) = E11, ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )) ⊦
Used simplifier rules: ⊦ (nd.deqID:= opttid).next = nd.next; (s) ⊦ a = b → st[b, d][a] = d; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, phead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, phead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, phead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = phead0 ∧ ps[phead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = phead0 ∧ ps[phead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = phead0 ∧ ps[phead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = phead0 ∧ ps[phead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), phead0 = (phead0 ' + orl0).last ∨ phead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, pcf(tid0) = E10 ∨ pcf(tid0) = E11, ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, vhead0 ≠ phead0, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = E10 ∨ pcf(tid0) = E11, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, vhead0 ≠ phead0, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, pcf(tid0) = E10 ∨ pcf(tid0) = E11, ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )) ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, vhead0 ≠ phead0, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, pcf(tid0) = E10 ∨ pcf(tid0) = E11, ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )) ⊦ |
Used simplifier rules: ⊦ D22 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E10; (s) ⊦ E1 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ E10; (s) ⊦ E10 ≠ E11; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D21 ≠ E10; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ¬ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null) ∨ pcf(tid0) = E11 ∧ vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty2 → vhead3 = vhead0 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ obsEmpty2 → vhead3 = vhead0 ∧ ps[vhead0].next = null ;(pcf(tid0) = E11 ⊃ vhead3 = vhead0 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead0].next = null ↔ ps[vhead0].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) ) ) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )) ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )) ⊦ |
⊦ a ≠ b → st[b, d][a] = st[a]
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vhead4 = phead0, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used terms: ps, phead0, ps[phead0].deqID:= vs[phead0].deqID, vhead4
| ⊦ a ≠ b → st[b, d][a] = st[a] |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vhead4 = phead0, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, vhead4, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead4 = null → obsEmpty1, pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ¬ ( pcf(tid0) = D20 ∧ obsEmpty2 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID ≠ None ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty2 → ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ obsEmpty2 → ps[vhead4].deqID = None ;pcf(tid0) = D21 → (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID][vhead4].deqID = None ↔ ps[vhead4].deqID = None) )), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D22 → optval3 = optval5, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬(pcf(tid0) = D20 ∧ obsEmpty2 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬(pcf(tid0) ≠ E4 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ ¬ obsEmpty2;pcf(tid0) ≠ D21)) ⊦
Used simplifier rules: ⊦ (nd.deqID:= opttid).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D22 → optval3 = optval5, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, ¬(pcf(tid0) = D20 ∧ obsEmpty2 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 → optval3 = optval5) ∨ ¬(pcf(tid0) ≠ E4 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ ¬ obsEmpty2;pcf(tid0) ≠ D21)) ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid0) = D20 ∧ obsEmpty2 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ (pcf(tid0) = D20 ⊃ ¬ obsEmpty2;pcf(tid0) ≠ D21)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(tid0) = D20 ∧ obsEmpty2 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D22, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(tid0) = D20 ∧ obsEmpty2 ∨ pcf(tid0) = D21 ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D22, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(tid0) = D20 ∧ obsEmpty2 ∨ pcf(tid0) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), obsEmpty2, pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D22, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D22, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), obsEmpty2, pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D22, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ D22; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) rl ≠ [] ⊦ ¬ dups(rl) → rl from rl.last = rl.last '; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ None ≠ Some(tid); (s) ⊦ Some(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D22, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ D22; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, optval3 ≠ optval5, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ a ' + x ≠ []; (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) .qrl = qrl; (s) ⊦ (a ' + x).head = a; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ None ≠ Some(tid); (s) ⊦ Some(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ obsEmpty2 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty2 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ (pcf(tid0) = D20 ⊃ ¬ obsEmpty2;pcf(tid0) ≠ D21) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ (pcf(tid0) = D20 ⊃ ¬ obsEmpty2;pcf(tid0) ≠ D21)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(tid0) = D22 → optval3 = optval5, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ (pcf(tid0) = D20 ⊃ ¬ obsEmpty2;pcf(tid0) ≠ D21) |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), obsEmpty2, pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D22 → optval3 = optval5, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D20, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D22 → optval3 = optval5, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), obsEmpty2, pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D22 → optval3 = optval5, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D20, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D20), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ rl.last ∈ rl from r ↔ r ∈ rl; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).head = a; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) rl ≠ [] ⊦ ¬ dups(rl) → rl from rl.last = rl.last '; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ None ≠ Some(tid); (s) ⊦ Some(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (tid0, val4, optval5, vhead2, nd0, true, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D20
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], pcf(tid0) ≠ D20, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl0), ¬ dups(orl), ¬ dups(orl + orl0), ¬ phead0 ∈ orl0, ¬ phead0 ∈ orl, pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val4 = val2, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval3 = vrvHp[vretRefs(tid0)], pcf(tid0) = D22 → optval3 = optval5, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦
Used simplifier rules: ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s)
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = invDeq, alsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, obsEmpty0, val0, optval1, val1, optval2), alsf(tid0) = mkls(tid0, obsEmpty1, val2, optval3, val3, optval4), apcf(vs[phead0].deqID.tid) = invDeq, dom vrvHp = dom prvHp, lsf(tid0) = mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(tid0) = D21, vs[phead0].deqID ≠ None, vs[phead0].deqID.tid ≠ tid0, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D21), DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 → val = val0, pcf(vs[phead0].deqID.tid) = D22 → optval1 = optval, pcf(vs[phead0].deqID.tid) = D15 ∨ pcf(vs[phead0].deqID.tid) = D23 ∨ pcf(vs[phead0].deqID.tid) = D24 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D34 → optval1 = vrvHp[vretRefs(vs[phead0].deqID.tid)], vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ |
⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)))
Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ a ' + x ≠ []; (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) .qrl = qrl; (s) ⊦ (a ' + x).head = a; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ None ≠ Some(tid); (s) ⊦ Some(tid).tid = tid; (s) Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (tid0, val4, optval5, vhead2, nd0, obsEmpty2, vhead3, phead0, rvref0, optval6, vhead5, tid3, addr0), D21
| ⊦ DMSQLInv(gs, ls, pc) ↔ (pc = D3 → gs.rvowns(ls.rvref) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ ( pc = D4 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ∈ gs.prvHp ∧ ls.rvref ≠ null) ∧ (pc = D5 → gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ ( pc = D6 → (ls.success → ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ∨ ¬ ls.success ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = D8 → gs.vtail ∈ gs.orl + gs.qrl from ls.first) ∧ (pc = D9 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D10 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ ( pc = D11 → gs.vtail ∈ gs.orl + gs.qrl from ls.lst ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.first].next) ∧ (ls.first ≠ ls.lst → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next)) ∧ (pc = D12 → ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next)) ∧ (pc = D13 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = null) ∧ (pc = D14 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ ls.nxt = null) ∧ (pc = D15 → ls.lst ∈ gs.orl + gs.qrl ∧ gs.vrvHp[ls.rvref] = Empty ∧ gs.prvHp[ls.rvref] = Empty) ∧ (pc = D16 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D17 → ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = D18 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D19 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = D20 → ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first ∧ ls.success) ∧ (ls.success ⊃ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ;gs.vs[ls.nxt].deqID ≠ None ∧ noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs) ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid) )) ∧ ( pc = D21 → ls.nxt ≠ null ∧ ls.first ∈ gs.orl ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.tid) ∧ (gs.ps[ls.nxt].deqID = None → gs.vhead = ls.first) ∧ noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs) ∧ (gs.qrl ≠ [] ∧ gs.vs[gs.qrl.head].deqID = Some(ls.tid) → gs.vhead = ls.first)) ∧ (pc = D22 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ (pc = D23 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref]) ∧ ( pc = D24 → gs.ps[ls.nxt].deqID ≠ None ∧ ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ ls.optval = gs.vrvHp[ls.rvref] ∧ ls.optval = gs.prvHp[ls.rvref]) ∧ ( pc = D25 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ ( gs.vhead = ls.first → gs.rvowns(gs.vretRefs((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid)) = Claimed((gs.ps ⊕ gs.vs)[ls.nxt].deqID.tid, ls.optval.val))) ∧ ( pc = D26 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID ≠ None ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ ls.optval = Val(gs.vs[ls.nxt].val) ∧ (gs.vhead = ls.first → gs.rvowns(gs.vretRefs(ls.othertid)) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D27 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ (gs.vhead = ls.first → gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val))) ∧ ( pc = D28 → ls.first ∈ gs.orl ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.vs[ls.nxt].deqID = Some(ls.othertid) ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D29 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ ( pc = D30 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next ∧ gs.rvowns(ls.addr) = Claimed(ls.othertid, ls.optval.val)) ∧ (pc = D31 → ls.first ∈ gs.orl ∧ gs.ps[ls.nxt].deqID ≠ None ∧ ls.nxt ≠ null ∧ ls.nxt = gs.ps[ls.first].next) ∧ ( pc = D34 → ls.optval = gs.vrvHp[gs.vretRefs(ls.tid)] ∧ ls.optval = gs.prvHp[gs.pretRefs(ls.tid)] ∧ gs.vretRefs(ls.tid) = gs.pretRefs(ls.tid) ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = (ls.optval = Empty ⊃ Pending(ls.tid);Claimed(ls.tid, ls.optval.val))) ∧ (pc = E2 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E3 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E5 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E6 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.ps[ls.lst].next = null → ls.lst = gs.vtail)) ∧ ( pc = E7 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E8 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (ls.nxt ≠ null → ls.nxt = gs.vs[ls.lst].next) ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ (pc = E9 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.nxt = null ∧ ls.lst ∈ gs.orl + gs.qrl ∧ (gs.vs[ls.lst].next = null → gs.vtail = ls.lst)) ∧ ( pc = E10 → ls.success → gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E11 → ls.success ∧ gs.vs[ls.lst].next = ls.node ∧ ls.node ≠ null ∧ gs.vs[ls.node].val = ls.value ∧ (ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∧ gs.owns(ls.node) = Weak(ls.tid) ∨ ls.lst ∈ gs.orl + gs.qrl ∧ gs.ps[ls.lst].next = ls.node)) ∧ ( pc = E12 → ls.success ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.node ∈ gs.orl + gs.qrl ∧ gs.vs[ls.lst].next = ls.node ∧ gs.ps[ls.lst].next = ls.node ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null) ∧ (pc = E13 → gs.owns(ls.node) = Some(ls.tid)) ∧ (pc = E14 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt ≠ null) ∧ ( pc = E15 → gs.owns(ls.node) = Some(ls.tid) ∧ ls.lst ∈ gs.orl + gs.qrl ∧ ls.nxt = gs.vs[ls.lst].next ∧ ls.nxt = gs.ps[ls.lst].next ∧ ls.nxt ≠ null) ∧ (pc = E16 → gs.owns(ls.node) = Some(ls.tid)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ ls.node ≠ null ∧ ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl) ∧ ( pc = E4 ∨ pc = E10 → ¬ ls.success → ¬ ls.node ∈ gs.orl ∧ ¬ ls.node ∈ gs.qrl ∧ ls.node ≠ null ∧ ls.node ∈ gs.ps ∧ ls.node ∈ gs.vs ∧ gs.owns(ls.node) = Some(ls.tid) ∧ gs.vs[ls.node] = mk(ls.value, None, null) ∧ gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.vs[ls.node] = mk(ls.value, None, null)) ∧ (pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → gs.ps[ls.node] = gs.vs[ls.node]) ∧ ( pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = D13 ∨ pc = D14 ∨ pc = D15 → ¬ ls.success ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Pending(ls.tid)) ∧ (pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → ¬ ls.success) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 → ls.first ∈ gs.orl ∧ gs.vhead ∈ gs.orl from ls.first) ∧ ( pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.first ≠ ls.lst ∧ gs.vtail ∈ gs.orl + gs.qrl from ls.lst) ∧ ( pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 → ls.lst ∈ gs.orl + gs.qrl from ls.first) ∧ ( pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 → gs.vretRefs(ls.tid) = ls.rvref ∧ gs.pretRefs(ls.tid) = ls.rvref ∧ ls.rvref ∈ gs.vrvHp ∧ ls.rvref ≠ null) ∧ ( pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → ls.success ∧ gs.vretRefs(ls.tid) ∈ gs.vrvHp ∧ gs.vretRefs(ls.tid) ≠ null ∧ gs.rvowns(gs.vretRefs(ls.tid)) = Claimed(ls.tid, ls.optval.val) ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ (pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 → ls.addr ∈ gs.vrvHp ∧ ls.addr ≠ null ∧ ls.optval = Val(gs.vs[ls.nxt].val)) ∧ ( pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ (pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 → gs.vhead ≠ ls.first → nextnottid(ls.tid, gs.vhead, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ∨ pc = E17 ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D16 ∨ pc = D17 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 → noid(ls.tid, gs.orl + gs.qrl, gs.vhead, gs.vs)) ∧ ( pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D18 ∨ pc = D19 → noid(ls.tid, gs.orl + gs.qrl, ls.first, gs.vs)) ∧ (pc = D22 ∨ pc = D23 ∨ pc = D24 → noid(ls.tid, gs.orl + gs.qrl, ls.nxt, gs.vs)) ∧ ( pc = crashed ∨ pc = idle ∨ pc = ready ∨ pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D15 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∨ pc = D21 ∨ pc = D22 ∨ pc = D23 ∨ pc = D24 ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ∨ pc = D34 ∨ pc = E1 ∨ pc = E12 ∨ pc = E17 → noowns(ls.tid, gs.owns)) ∧ ( pc = E2 ∨ pc = E3 ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 → oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps)) ∧ ( pc = E10 → (ls.success ⊃ (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns)) ;oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps) )) ∧ (pc = E11 → (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ oneweakowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps);noowns(ls.tid, gs.owns))) ∧ (pc = E4 → (ls.success ⊃ noowns(ls.tid, gs.owns);oneowns(ls.tid, ls.node, gs.owns, gs.vs, gs.ps))) |
| ps[phead0].deqID = None, abspc (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, apcf(vs[phead0].deqID.tid) ≠ invDeq, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) )
ps[phead0].deqID = None, (pcf(vs[phead0].deqID.tid) = idle ⊃ idle ;(pcf(vs[phead0].deqID.tid) = ready ⊃ ready ;(pcf(vs[phead0].deqID.tid) = crashed ⊃ crashed ;( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ⊃ invEnq ;( pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E17 ⊃ resEnq ;( pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None) ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, apcf(vs[phead0].deqID.tid) ≠ invDeq, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) )))
Used terms: mkgs (ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls (vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)
| ⊦ abspc(gs, ls, pc) = (pc = idle ⊃ idle ;(pc = ready ⊃ ready ;(pc = crashed ⊃ crashed ;( pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = E4 ∧ ¬ ls.success ∨ pc = E5 ∨ pc = E6 ∨ pc = E7 ∨ pc = E8 ∨ pc = E9 ∨ pc = E10 ∧ (ls.success → ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null) ∨ pc = E11 ∧ ls.lst = gs.vtail ∧ gs.ps[ls.lst].next = null ∨ pc = E13 ∨ pc = E14 ∨ pc = E15 ∨ pc = E16 ⊃ invEnq ;(pc = E10 ∨ pc = E11 ∨ pc = E12 ∨ pc = E4 ∨ pc = E13 ∨ pc = E17 ⊃ resEnq ;( pc = D1 ∨ pc = D2 ∨ pc = D3 ∨ pc = D4 ∨ pc = D5 ∨ pc = D6 ∧ ¬ ls.success ∨ pc = D7 ∨ pc = D8 ∨ pc = D9 ∨ pc = D10 ∨ pc = D11 ∨ pc = D12 ∨ pc = D13 ∨ pc = D14 ∨ pc = D16 ∨ pc = D17 ∨ pc = D18 ∨ pc = D19 ∨ pc = D20 ∧ (ls.success → gs.ps[ls.nxt].deqID = None) ∨ pc = D21 ∧ gs.ps[ls.nxt].deqID = None ∨ pc = D25 ∨ pc = D26 ∨ pc = D27 ∨ pc = D28 ∨ pc = D29 ∨ pc = D30 ∨ pc = D31 ∨ pc = D32 ∨ pc = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) |
| ps[phead0].deqID = None, (pcf(vs[phead0].deqID.tid) = idle ⊃ idle ;(pcf(vs[phead0].deqID.tid) = ready ⊃ ready ;(pcf(vs[phead0].deqID.tid) = crashed ⊃ crashed ;( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst = mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).vtail ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).lst ] .next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ⊃ invEnq ;( pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E17 ⊃ resEnq ;( pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∧ ( mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).success → mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None) ∨ pcf(vs[phead0].deqID.tid) = D21 ∧ mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns).ps [mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr).nxt ] .deqID = None ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, apcf(vs[phead0].deqID.tid) ≠ invDeq, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(pretRefs, prvHp), allocrv(vretRefs, vrvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, vs), markedp(orl, ps), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(pretRefs, prvHp, rvowns), rvownerok(vretRefs, vrvHp, rvowns), unmarkedp(orl0, ps), unmarkedp(orl0, vs), phead ∈ orl, phead0 ∈ ps, phead0 ∈ vs, phead ∈ vs, phead ∈ ps, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21, vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
ps[phead0].deqID = None, (pcf(vs[phead0].deqID.tid) = idle ⊃ idle ;(pcf(vs[phead0].deqID.tid) = ready ⊃ ready ;(pcf(vs[phead0].deqID.tid) = crashed ⊃ crashed ;( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ⊃ invEnq ;( pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ⊃ resEnq ;( pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, apcf(vs[phead0].deqID.tid) ≠ invDeq, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) )))
Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)
| ps[phead0].deqID = None, (pcf(vs[phead0].deqID.tid) = idle ⊃ idle ;(pcf(vs[phead0].deqID.tid) = ready ⊃ ready ;(pcf(vs[phead0].deqID.tid) = crashed ⊃ crashed ;( pcf(vs[phead0].deqID.tid) = E1 ∨ pcf(vs[phead0].deqID.tid) = E2 ∨ pcf(vs[phead0].deqID.tid) = E3 ∨ pcf(vs[phead0].deqID.tid) = E4 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = E5 ∨ pcf(vs[phead0].deqID.tid) = E6 ∨ pcf(vs[phead0].deqID.tid) = E7 ∨ pcf(vs[phead0].deqID.tid) = E8 ∨ pcf(vs[phead0].deqID.tid) = E9 ∨ pcf(vs[phead0].deqID.tid) = E10 ∧ (obsEmpty → vhead1 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(vs[phead0].deqID.tid) = E11 ∧ vhead1 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(vs[phead0].deqID.tid) = E13 ∨ pcf(vs[phead0].deqID.tid) = E14 ∨ pcf(vs[phead0].deqID.tid) = E15 ∨ pcf(vs[phead0].deqID.tid) = E16 ⊃ invEnq ;( pcf(vs[phead0].deqID.tid) = E10 ∨ pcf(vs[phead0].deqID.tid) = E11 ∨ pcf(vs[phead0].deqID.tid) = E12 ∨ pcf(vs[phead0].deqID.tid) = E4 ∨ pcf(vs[phead0].deqID.tid) = E17 ⊃ resEnq ;( pcf(vs[phead0].deqID.tid) = D1 ∨ pcf(vs[phead0].deqID.tid) = D2 ∨ pcf(vs[phead0].deqID.tid) = D3 ∨ pcf(vs[phead0].deqID.tid) = D4 ∨ pcf(vs[phead0].deqID.tid) = D5 ∨ pcf(vs[phead0].deqID.tid) = D6 ∧ ¬ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D7 ∨ pcf(vs[phead0].deqID.tid) = D8 ∨ pcf(vs[phead0].deqID.tid) = D9 ∨ pcf(vs[phead0].deqID.tid) = D10 ∨ pcf(vs[phead0].deqID.tid) = D11 ∨ pcf(vs[phead0].deqID.tid) = D12 ∨ pcf(vs[phead0].deqID.tid) = D13 ∨ pcf(vs[phead0].deqID.tid) = D14 ∨ pcf(vs[phead0].deqID.tid) = D16 ∨ pcf(vs[phead0].deqID.tid) = D17 ∨ pcf(vs[phead0].deqID.tid) = D18 ∨ pcf(vs[phead0].deqID.tid) = D19 ∨ pcf(vs[phead0].deqID.tid) = D20 ∨ pcf(vs[phead0].deqID.tid) = D21 ∨ pcf(vs[phead0].deqID.tid) = D25 ∨ pcf(vs[phead0].deqID.tid) = D26 ∨ pcf(vs[phead0].deqID.tid) = D27 ∨ pcf(vs[phead0].deqID.tid) = D28 ∨ pcf(vs[phead0].deqID.tid) = D29 ∨ pcf(vs[phead0].deqID.tid) = D30 ∨ pcf(vs[phead0].deqID.tid) = D31 ∨ pcf(vs[phead0].deqID.tid) = D32 ∨ pcf(vs[phead0].deqID.tid) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(vs[phead0].deqID.tid), dom vrvHp = dom prvHp, lsf(vs[phead0].deqID.tid) = mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), vs[phead0].deqID ≠ None, apcf(vs[phead0].deqID.tid) ≠ invDeq, orl ≠ [], phead0 ≠ null, DMSQLInv (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid)), absls (mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), mkls(vs[phead0].deqID.tid, val, optval, vhead, nd, obsEmpty, vhead1, phead0, rvref, optval0, orl.last, tid1, addr), pcf(vs[phead0].deqID.tid), alsf(vs[phead0].deqID.tid)), allocrv(vretRefs, vrvHp), allocrv(pretRefs, prvHp), listp(orl + phead0 ' + orl0, vs, ps, owns), markedp(orl, ps), markedp(orl, vs), nonullRetRefs(orl + phead0 ' + orl0, vs, vretRefs, pretRefs), rvownerok(vretRefs, vrvHp, rvowns), rvownerok(pretRefs, prvHp, rvowns), unmarkedp(orl0, vs), unmarkedp(orl0, ps), phead ∈ ps, phead ∈ vs, phead0 ∈ vs, phead0 ∈ ps, phead ∈ orl, ¬ dups(orl + orl0), ¬ dups(orl), ¬ dups(orl0), ¬ phead0 ∈ orl, ¬ phead0 ∈ orl0, vs[orl.last].next ≠ null ∧ vs[vs[orl.last].next].deqID ≠ None → rvowns(vretRefs(vs[vs[orl.last].next].deqID.tid)) = Claimed(vs[vs[orl.last].next].deqID.tid, vs[vs[orl.last].next].val), ∀ tid. absls(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps, vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, phead0 ' + orl0, orl, owns, rvowns), lsf(tid), pcf(tid)), vhead0 = (phead0 ' + orl0).last ∨ vhead0 = (orl + (phead0 ' + orl0).butlast).last ∧ vs[(phead0 ' + orl0).last].deqID = None ∧ vs[(phead0 ' + orl0).last].next = null, pcf(vs[phead0].deqID.tid) = D20 ∧ obsEmpty ∨ pcf(vs[phead0].deqID.tid) = D21 ⊦ pre(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ∧ abs (mkstate (mkgs (ps[phead0, ps[phead0].deqID:= vs[phead0].deqID], vs, phead, orl.last, vhead0, vretRefs, pretRefs, vrvHp, prvHp, orl0, orl + phead0 ', owns, rvowns), lsf, pcf), mkstate (gstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)), alsf (vs[phead0].deqID.tid ; lstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ), apcf (vs[phead0].deqID.tid ; pcstepf(mkgs(ps[phead0].val ' + content(orl0, ps)), alsf(vs[phead0].deqID.tid), apcf(vs[phead0].deqID.tid), DoDeq(vs[phead0].deqID.tid)) ))) |
Used simplifier rules: ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E17; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E17; (s)
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.